The metrics are:
•TS Per Sec
Number of thread switches each second.
•TS Per Kinst
Number of thread switches every 1000 instructions.
•L3miss
Percentage of all thread switches that were caused by a miss in the Level 3 cache. A large value indicates a “good” use of HyperThreading: while this process is waiting on memory, another process can execute.
•Timer
Percentage of all thread switches due to the “fair share” timer. A large value indicates a “poor” use of HyperThreading: both processes are competing for processor execution cycles.
•Hint
Percentage of all thread switches that were triggered by the “hint@pause” instruction. This is when the measured process voluntarily gives up the processor because it is about to wait for something (like a mutex). A
•Other
Percentage of all other reasons that thread switches occurred.
•
Percentage of thread switches that were triggered after the processor had stalled for 0 to 3 cycles. A large value indicates efficient HyperThreading.
•
Percentage of thread switches that were triggered after the processor had stalled for 4 to 15 cycles. A
•
Percentage of thread switches that were triggered after the processor had stalled for 16 to 63 cycles. A
•
Percentage of thread switches that were triggered after the processor had stalled for 64 to 255 cycles. A
•>=256
Percentage of thread switches that were triggered after the processor had stalled for 256 or more cycles. A
•Overhead Cycles Per Sec
Number of processor cycles per second consumed by the thread switching itself. A large value indicates that many cycles were lost to the process in overhead.
•Gated Cycles Per Sec
Number of processor cycles per second that a pending thread switch was held up waiting for some blocking condition to clear.
tlb Event Set
The tlb event set provides information related to translation lookaside buffer (TLB) misses.
250 Event Set Descriptions for CPU Metrics