dotTrace 2017.1 Help

Unable to Open a Snapshot

Unable to open the snapshot: Inconsistent call time values. This may be a result of CPU cores mistiming.

When configuring profiling session, you may choose between two types of time measurement: based on OS performance counters and based on CPU register values. In the latter case, to calculate method execution time, dotTrace takes time values from a CPU core register called Time Stamp Counter (TSC). Typically, on multi-core processors, TSCs of all cores are synced with each other. Nevertheless, on some types of Intel CPUs these counters may be mistimed. As a result, dotTrace can get wrong time values in case application threads are switched between CPU cores during profiling. For example, method execution time may be smaller than the time of underlying methods.

Snapshots with such issues are considered invalid.

To fix the issue:

  • Use time measurement method based on OS performance counters: When configuring a profiling session, in Time measurement, select Real time (performance counter).
Last modified: 24 August 2017