Community
cancel
Showing results for 
Search instead for 
Did you mean: 
pacard
Beginner
156 Views

How to get event count in "vtl view"?

I am trying to sample a program using vtl. But the "vtl view -processes" command only outputs the number of samples, not that of events. What should I do to get the event counts?
0 Kudos
4 Replies
TimP
Black Belt
156 Views

Number of events is assumed to be sample after value times number of samples. In principle, you could count all events only in the case where the number is negligible, by setting sample after to 1.
pacard
Beginner
156 Views

I think I didn't make it clear.

I want something like "number of IA64_INST_RETIRED events", but the vtl view gives me only"number of IA64_INST_RETIRED samples".

I am using VTune 8.0.4 for Linux.

Andrey_G_Intel1
Employee
156 Views

vtl view -processes -sea 2

-------

vtl -help -v sampling

-sea | -show-events-as

Show events as one of the folowing:

1 for samples

2 for event counts

8 for %selection

11 for complete information

pacard
Beginner
156 Views

Thanks, that solves the problem.

I am alsowondering if there is a complete documentation of the vtl command line. The help files which comes with VTune only introduces the commands briefly. And it is hard to find such options like -sea, or -opcode-filter.

Thanks,

Chuntao

Reply