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

VTune what analysis produces the DFLOP count?

Azua_Garcia__Giovann
232 Views

Hello,

What VTune analysis produces the DFLOP count for a given application? this would be extremely useful for efortlessly computing the GFlops,

 

TIA,

Best regards,

Giovanni

0 Kudos
1 Solution
Bernard
Black Belt
232 Views

I am late with the answer,but anyway it is this counter FP_COMP_OPS_EXE.SSE_PACKED_DOUBLE.

View solution in original post

5 Replies
Peter_W_Intel
Employee
232 Views

There is no associated events to measure flops in predefined analysis. However you can find/use events in supported events, it depends on your using processor. For example, if you working on SandBridge processor, use:

# amplxe-runss -event-list | grep FP_COMP_OPS_EXE
FP_COMP_OPS_EXE.X87
FP_COMP_OPS_EXE.SSE_PACKED_DOUBLE
FP_COMP_OPS_EXE.SSE_SCALAR_SINGLE
FP_COMP_OPS_EXE.SSE_PACKED_SINGLE
FP_COMP_OPS_EXE.SSE_SCALAR_DOUBLE

So, MFLOPS Formula = FP_COMP_OPS_EXE.X87 / 1x10e-6 / Elapsed Time

Using event FP_COMP_OPS_EXE.X87 directly in command line without VTune's predefined analysis, refer this article

 

For information about using FLOPS related events for your processor, read under VTune_amplifier_xe_2013/documentation/help/reference

Bernard
Black Belt
232 Views

"What VTune analysis produces the DFLOP count for a given application?"

I presume that DFLOP stands for double precision FLOPs.

Azua_Garcia__Giovann
232 Views

Correct I am interested in Double Precision FLoating Point Operations therefore FP_COMP_OPS_EXE.SSE_SCALAR_SINGLE and FP_COMP_OPS_EXE.SSE_PACKED_SINGLE are of no interest to me. Furthermore, this PC seems to give the total FP_COMP_OPS_EXE.X87 that includes single precision, which is also not interesting to me. I only only want to measure Double Precision events.

How can I do that using VTune?

Azua_Garcia__Giovann
232 Views

OK I found out how to do this. The solution is to create a new Analysis or custom analysis type and add those counters.

 

Cheers,

Giovanni

Bernard
Black Belt
233 Views

I am late with the answer,but anyway it is this counter FP_COMP_OPS_EXE.SSE_PACKED_DOUBLE.

Reply