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.
4682 Discussions

How to get event count in "vtl view"?

pacard
Beginner
258 Views
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
258 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
258 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
258 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
258 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