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

calculating total fpu operations

pttsusa
Beginner
155 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
155 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