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

calculating total fpu operations

pttsusa
Beginner
343 Views
I am trying to track the math involved in a process. I am not sureif Vtune perf analysis has a feature to display total number of FPU instructions for a particular process.
a) total fadd instructions
b) total fsub instructions
c) total fmul instructions
d) total fsqrt instructions
e) total fdiv instructions
Any insights will help...
thanks
Pat
0 Kudos
1 Reply
David_A_Intel1
Employee
343 Views

What the VTune analyzer can expose in regards to this question largely depends on the processor. Look for an event such as "FP Instructions Retired". I know that some of the Pentium 4 processors have a similar event and this can be used to estimate total FP ops. Sampling is statistical, so it will not be exact. Also, I don't remember seeing an event to separate fpadds from fpsubs, etc., but you will need to look at the events for the processor you are tuning on.

Regards,

0 Kudos
Reply