Analyzers
Community support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
4887 Discussions

How to set the application running times in vtune?

newlife2003
Beginner
326 Views
Hi, all.
Generally, when the vtune sampls an application, the application runs for 2 times for an approximatly precise result. But if I want the application to run for just one time, how should I do? thanks
0 Kudos
1 Reply
jeffrey-gallagher
326 Views
Hey newlife2003

That first run is called a calibration run, and it's currently vtl's default behavior to include it. To stop it from happening, add -o "-cal no" to your command line, for example:

vtl activity -c sampling -o "-cal no" -app /bin/ls run


By default, vtl currently runs a calibration session (default, 20 seconds) before running your application for the session you've asked for.

You can stop this by turning calibration off at the command line by adding -o "-cal no" as I mentioned above(do a man page on sampling for more info).

$ man sampling

Please note that the engineering team is considering currently turning calibration OFF by default by the time the new 2.0 beta software is released.

0 Kudos
Reply