Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5038 Discussions

Changing the sampling rate of the VTune(TM) Analyzer

We are often asked about the validity of the sampling rate in the VTune Analyzer and whether it can be changed. First of all, yes it can be changed from the default of 1000 sample per second:
We have experimented with changing the rate and looking at what kinds of errors resulted. It did seem as though 1000 samples per second was the most dependable rate. As the rate got slower by several orders of magnitude, the data for infrequently executed code disappeared from the results (but the hotspots were still there with the same relative percentages). When the rate sped up several orders of magnitude, the data just started getting very unreliable. It's probably best to leave it at 1000 samples per second unless you have some dominating reason to change it.
We wrote up the results in the June, 2004 issue of Dr. Dobb's Journal ("A Heisenberg Compensator for Measuring Software Performance").
0 Kudos
0 Replies