Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
4679 Discussions

Trigger collection with program symbol.

Bram_S_
Beginner
197 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
197 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

Reply