Skip to content

Commit 7ba3e80

Browse files
committed
add counters for L1/L2/L3 on Skylake
1 parent 59be1c5 commit 7ba3e80

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
@@ -98,7 +98,13 @@ const EVENT_TYPES =
9898
(:fp_arith_inst_retired_packed, 0x3cc7),
9999
(:fp_arith_inst_retired_512B_packed_double, 0x40c7), # mul=8,vlen=8,ops=1 AVX512
100100
(:mem_inst_retired_all_loads, 0x81d0),
101-
(:mem_inst_retired_all_stores, 0x82d0),
101+
(:mem_inst_retired_all_stores, 0x82d0),
102+
(:L1D_replacement, 0x0151),
103+
(:L2_trans_L1D_wb, 0x10F0),
104+
(:L2_trans_L2_wb, 0x40F0),
105+
(:L2_lines_in_all, 0x70F1),
106+
(:cas_count_rd, 0x0304), # ???
107+
(:cas_count_wr, 0x0c04), # ???
102108
# Skylake uncore
103109
# https://www.intel.com/content/dam/www/public/us/en/documents/manuals/6th-gen-core-family-uncore-performance-monitoring-manual.pdf
104110
(:unc_arb_trk_requests_all, 0x0180),

0 commit comments

Comments
 (0)