I installed vtune_amplifier xe 2013 in my PC ( Intel 4core CPU) with Ubuntu kernel. Below are my quetions.
The event ‘L2_LINES_IN.SELF.ANY’ used to get L2 cache can’t be found in linux
We don’t know whether the method getting L2 cache miss can be used on multiple threads (L2 cache miss =L2_LINES_IN.SELF.ANY/INST_RETIRED.ANY?).
Thanks very much for any suggestions.
Link Copied
Do you mean in GUI?
use 'amplxe-cl'
Different processor will have different event name for L2_LINES_IN to measure L2 cache miss. My box is Sandybridge:
# amplxe-runss -event-list | grep L2_LINES_IN
L2_LINES_IN.I
L2_LINES_IN.S
L2_LINES_IN.E
L2_LINES_IN.ALL
So you can use L2_LINES_IN.ALL, in my case.
Sorry did not see that thread starter uses Linux.
And, don't forget to review our tuning guides for proper analysis of specific microarchitecture issues!
For more complete information about compiler optimizations, see our Optimization Notice.