10-01-2004 05:46 PM
I have a program where I would like sampling to begin at a specified point. Instead of using the option that let's me begin sampling after so many seconds, I'm wondering if there's a method where my sampled program can tell the performance counters to start and stopcounting.
I remember something about __int3, but it has been some time since I have used Vtuneat this level.
10-04-2004 07:38 PM
Check out the Pause/Resume APIs in the User's Guide (/opt/intel/vtune/doc/users_guide/SH_Pause_Resume_APIs.htm). By adding calls to VTPause() and VTResume(), you can control when data is collected.