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

Raw Time-series Data for hardware performance counters

ja123
Beginner
546 Views

Hi,

  1. I understand that we can get hardware performance event samples by attaching to a process. Are we able to use VTune to get the raw time-series counts of the hardware performance counters? For example, if I would like to see how the L1 cache misses change over time as I use say Internet Explorer to view a specific webpage, can we retrieve that kind of data?
  2. Does VTune allow us to add to the list of hardware performance events that can be monitored?
  3. I am trying to understand how accurate the per-process measurements are in VTune. I understand that VTune uses hardware performance counters in the CPU. Such measurements collected apply to the whole system. How does VTune differentiate the measurements from process to process?

Thanks!

0 Kudos
6 Replies
Bernard
Valued Contributor I
546 Views

>>>I understand that we can get hardware performance event samples by attaching to a process. Are we able to use VTune to get the raw time-series counts of the hardware performance counters? For example, if I would like to see how the L1 cache misses change over time as>.>

Do you mean "plot  of counters data as a function of the elapsed time"

0 Kudos
ja123
Beginner
546 Views

iliyapolak wrote:

>>>I understand that we can get hardware performance event samples by attaching to a process. Are we able to use VTune to get the raw time-series counts of the hardware performance counters? For example, if I would like to see how the L1 cache misses change over time as>.>

Do you mean "plot  of counters data as a function of the elapsed time"

Yes. Say a plot of the L1 cache misses over time. Can we export such raw data to perform analysis?

0 Kudos
SergeyKostrov
Valued Contributor II
546 Views
>>...as I use say Internet Explorer to view a specific webpage... Internet Explorer does internal caching of web pages ( look, for example, at IE option 'Do not save encrypted pages to disk' ) and I don't think VTune is a right tool to verify that a web-page is cached or not.
0 Kudos
SergeyKostrov
Valued Contributor II
546 Views
>>>>...as I use say Internet Explorer to view a specific webpage... >> >>Internet Explorer does internal caching of web pages ( look, for example, at IE option 'Do not save encrypted pages to disk' ) and >>don't think VTune is a right tool to verify that a web-page is cached or not. Also, since Internet Explorer supports OLE Automation and has lots of COM interfaces it is possible that there is a method in some COM interface that could provide such details for a web page. Like, is a web page cached or not?
0 Kudos
Bernard
Valued Contributor I
546 Views

>>>Such measurements collected apply to the whole system. How does VTune differentiate the measurements from process to process?>>>

One of the method is resolve the address of the function(s) and exporting dll by looking at the current state of the instruction pointer.Also PDB files can be useful in obtaining information about the exported functions.Enumerating of import and export tables of the PE format (.exe) exactly after the file is loaded and correct addresses are resolved by NtLoader functions can be also used.

0 Kudos
Bernard
Valued Contributor I
546 Views

>>>For example, if I would like to see how the L1 cache misses change over time as I use say Internet Explorer to view a specific webpage, can we retrieve that kind of data?>>>

I do not think that you can obtain such a measurement granularity.Mostly you will get some kind of plot for example processor load over the time but this is measured per process and per thread.

0 Kudos
Reply