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

How to get event count in "vtl view"?

pacard
Beginner
837 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
Honored Contributor III
837 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.
0 Kudos
pacard
Beginner
837 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.

0 Kudos
Andrey_G_Intel1
Employee
837 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

0 Kudos
pacard
Beginner
837 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

0 Kudos
Reply