Community
cancel
Showing results for 
Search instead for 
Did you mean: 
selmilab
Beginner
80 Views

Timeline events

Hi, I'm a happy vtune user and I'd like to ask you a question. Is it possible to add custom events to the timeline?

I mean, on windows you have some functions that, when called in your program, will generate an event. These events will be recorded by xperf and shown on the timeline displayed by xperfview. These events are extremely helpful because they allow me to know exactly where in the code am I when I'm looking at the timeline.

Is it possible to so such thing with vtune on linux?

0 Kudos
7 Replies
selmilab
Beginner
80 Views

Maybe Frame API is what I'm looking for

Peter_W_Intel
Employee
80 Views

I'm not familiar with xperf, and don't know what exact custom events you want to insert into timeline report in VTune(TM) Amplifier XE.

Frame API is useful to measure critical code area for each frame (iteration), see this article to know more (also there is a simple example) 

Bernard
Black Belt
80 Views

Which xperf events are you reffering to?

selmilab
Beginner
80 Views

Peter Wang (Intel) wrote:

I'm not familiar with xperf, and don't know what exact custom events you want to insert into timeline report in VTune(TM) Amplifier XE.

Frame API is useful to measure critical code area for each frame (iteration), see this article to know more (also there is a simple example) 

Yes, Frame APIs seems the way to go. Basically, I need a function that creates a "mark" and this mark should be visible on vtune's timeline

selmilab
Beginner
80 Views

iliyapolak wrote:

Which xperf events are you reffering to?

ETW events. The ones generated by functions like EventWrite

Bernard
Black Belt
80 Views

Interesting I was personally more interested in programming performance counters.

SergeyKostrov
Valued Contributor II
80 Views

>>...I mean, on windows you have some functions that, when called in your program, will generate an event... Could you provide an example of functions you want "monitor" for events? Are these Win32 API functions?
Reply