Skip to content

Commit d81aa61

Browse files
committed
add counters for L1/L2/L3 on Skylake
1 parent 7d38399 commit d81aa61

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/LinuxPerf.jl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,13 @@ const EVENT_TYPES =
9696
(:fp_arith_inst_retired_packed, 0x3cc7),
9797
(:fp_arith_inst_retired_512B_packed_double, 0x40c7), # mul=8,vlen=8,ops=1 AVX512
9898
(:mem_inst_retired_all_loads, 0x81d0),
99-
(:mem_inst_retired_all_stores, 0x82d0),
99+
(:mem_inst_retired_all_stores, 0x82d0),
100+
(:L1D_replacement, 0x0151),
101+
(:L2_trans_L1D_wb, 0x10F0),
102+
(:L2_trans_L2_wb, 0x40F0),
103+
(:L2_lines_in_all, 0x70F1),
104+
(:cas_count_rd, 0x0304), # ???
105+
(:cas_count_wr, 0x0c04), # ???
100106
# Skylake uncore
101107
# https://www.intel.com/content/dam/www/public/us/en/documents/manuals/6th-gen-core-family-uncore-performance-monitoring-manual.pdf
102108
(:unc_arb_trk_requests_all, 0x0180),

0 commit comments

Comments
 (0)