Software Tuning, Performance Optimization & Platform Monitoring
Discussion around monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform monitoring
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

AES-NI instructions statistics

vlad3
Beginner
296 Views
Is there a way how to get information about total number of AES-NI instructions executed on a CPU (core), size of data processed with the intructions, etc. ?
0 Kudos
1 Reply
Patrick_F_Intel1
Employee
296 Views
Hello Vlad3,
Unfortunately, there is no easy way to do this. Intel does not have any 'count AES-NI instruction' counters.
One can infer the number of AES-NI instructions using VTune Amplifier XE http://software.intel.com/en-us/articles/intel-vtune-amplifier-xe/ .
If you measure instructions retired then you can estimate the number AES-NI instructions.
But you'll have to look through the dis-assemblyto find the AES-NI instructions.
Each instruction processes 16 bytes of data so, if you know the number of AES-NI instructions then you can estimate the total data processed.
Sorry to not have a simpler solution.
Pat
Reply