18 #include <perfmon/perfmon.h>
25 int row = va_arg (*args,
int);
59 .name =
"cache-hierarchy",
60 .description =
"cache hits and misses",
61 .source =
"intel-core",
64 .events[0] = INTEL_CORE_E_MEM_LOAD_RETIRED_L1_HIT,
65 .events[1] = INTEL_CORE_E_MEM_LOAD_RETIRED_L1_MISS,
66 .events[2] = INTEL_CORE_E_MEM_LOAD_RETIRED_L2_MISS,
67 .events[3] = INTEL_CORE_E_MEM_LOAD_RETIRED_L3_MISS,
70 .column_headers =
PERFMON_STRINGS (
"L1 hit/pkt",
"L1 miss/pkt",
"L2 hit/pkt",
71 "L2 miss/pkt",
"L3 hit/pkt",