-
Notifications
You must be signed in to change notification settings - Fork 5
/
SKX_IMC_BusDeviceFunctionOffset.h
19 lines (17 loc) · 1.15 KB
/
SKX_IMC_BusDeviceFunctionOffset.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// ================ Machine-Dependent Uncore Performance Monitor Locations =================
// These are the most common bus/device/function locations for the IMC counters on
// Xeon Platinum 8160 (Skylake, SKX)
// These are set up to work on the TACC Stampede2 SKX nodes....
//
// Note that the PmonCtl offsets are for programmable counters 0-3, plus the fixed counter.
// (The fixed counter only needs bit 22 enabled, most other bits are ignored)
// Note that the PmonCtr offsets are for the bottom 32 bits of a 48 bit counter in a
// 64-bit field. The first four offsets are for the programmable counters 0-3,
// and the final value is for the Fixed-Function (DCLK) counter that should
// always increment at the DCLK frequency (1/2 the DDR transfer frequency).
int IMC_BUS_Socket[2] = {0x3a, 0xae};
int IMC_Device_Channel[6] = {0x0a, 0x0a, 0x0b, 0x0c, 0x0c, 0x0d};
int IMC_Function_Channel[6] = {0x2, 0x6, 0x2, 0x2, 0x6, 0x2};
int IMC_PmonCtl_Offset[5] = {0xd8, 0xdc, 0xe0, 0xe4, 0xf0};
int IMC_PmonCtr_Offset[5] = {0xa0, 0xa8, 0xb0, 0xb8, 0xd0};
// ================ End of Machine-Dependent Uncore Performance Monitor Locations =================