Timeline events

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?

8 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Maybe Frame API is what I'm looking for

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) 

Which xperf events are you reffering to?

Quote:

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

Quote:

iliyapolak wrote:

Which xperf events are you reffering to?

ETW events. The ones generated by functions like EventWrite

Interesting I was personally more interested in programming performance counters.

>>...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?

Leave a Comment

Please sign in to add a comment. Not a member? Join today