Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)

Timeline events

selmilab
Principiante
1.541 Visualizações

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 Respostas
selmilab
Principiante
1.541 Visualizações

Maybe Frame API is what I'm looking for

Peter_W_Intel
Funcionário
1.541 Visualizações

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
Contribuidor valorado I
1.541 Visualizações

Which xperf events are you reffering to?

selmilab
Principiante
1.541 Visualizações

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
Principiante
1.541 Visualizações

iliyapolak wrote:

Which xperf events are you reffering to?

ETW events. The ones generated by functions like EventWrite

Bernard
Contribuidor valorado I
1.541 Visualizações

Interesting I was personally more interested in programming performance counters.

SergeyKostrov
Contribuidor valorado II
1.541 Visualizações
>>...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?
Responder