Community
cancel
Showing results for 
Search instead for 
Did you mean: 
pttsusa
Beginner
91 Views

calculating total fpu operations

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
91 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,

Reply