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

Trigger collection with program symbol.

Bram_S_
New Contributor I
308 Views

I am evaluating vtune on linux:

vtune_amplifier_xe_2017.2.0.499904

There is an option to delay the collection of samples by time. I think for more accurate testing, it would help if there was an option to trigger the collection with a symbol in the program. E.g. as soon as the function 'foo' is called, collection starts.

This would enable precise starts of profile runs that skip the initialization phases of your code.

 

0 Kudos
1 Reply
Dmitry_P_Intel1
Employee
308 Views

Hello,

There is also ability to use itt_resume and itt_pause API in the source of your application to more precisely pause/resume collection than start by time. Can this help in your situation?

Thanks & Regards, Dmitry

0 Kudos
Reply