Community
cancel
Showing results for 
Search instead for 
Did you mean: 
pieter_beel
Beginner
76 Views

Sampling and counter monitor as hardware mon

Hello,

I'm totally new with Vtune.

Therefore i have a lot of questions???

I want to use vtune to monitor what the CPU is doing.

I want to see the number of cache misses that happen in the L1 L2 (L3) cache.

And also how many branch mispredictions, trace cache misses and so on.

I have played a bit with it but i did not make a lot of progress.

I don't know how to interpret the results neither what events to follow to get the correct results.

Mostly i will use it to follow some benchmarks.

The second question i have (at the moment) is how to activate more performance counters per run.

I understand the P3 has only 2 counters and the P4 has 18 performance counters.

Is it possible to activate all 18 in one run?

Up till now i do not understand it very well.

I quickly looked in the help but i still havent found it.

I also followed the tutorial.

And for the main part of the info that i need, i assume i will need to use sampling and the counter monitor.

thanks in advance

0 Kudos
2 Replies
TimP
Black Belt
76 Views

Message Edited by tim18 on 08-25-2004 03:53 PM

David_A_Intel1
Employee
76 Views

To add to what tcprince has said:

Starting with version 7.1, the Sampling Wizard can be configured to automatically collect events that will allow the Tuning Assistant to analyzer your application. Select "a few runs" or "many runs" to collect enough events for the assistant to analyzer your application performance.

While a processor may support X number of event registers, certain registers can only be programmed for certain events. Therefore, the analyzer attempts to optimally allocate the registers, but multiple runs may be required because of the events that are selected.

Reply