Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

How does VTune collect HPC data?

Baljit_S_
Beginner
890 Views

Hi,

I am new to VTune and was interested in knowing how does VTune collect the performance counter data? Does vTune capture counters while the OS code is executing? Are the counters being updated in user space or in kernel space?

Thanks.

0 Kudos
4 Replies
Peter_W_Intel
Employee
890 Views

VTune uses hardware PMU to measure. The general formula is -

MFLOPS Formula = A-specific-event counters / 1,000,000 / Elapsed Time
Elapsed time = CPU_CLK_UNHALTED.THREAD / Processor-Frequency / Number-of-Cores

Please see this blog to know examples in detail.

0 Kudos
Dmitry_P_Intel1
Employee
890 Views

Hello,

It is worth also to look at https://software.intel.com/en-us/node/544067 to understand the sampling collection method that VTune use for hardware (driver) based collections.

BTW - what particular HPC data are you interested in?

Thanks & Regards, Dmitry 

0 Kudos
David_A_Intel1
Employee
890 Views

And, actually, there are two different collection mechanisms: one is software-based and one is hardware-based.  It depends on the analysis type you select.

So, again, what specifically are you asking about?

0 Kudos
Baljit_S_
Beginner
890 Views

Thanks for the reply guys. I am dealing with HPC for branches, cache misses and memory uops.

0 Kudos
Reply