]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/libpmcstat/pmu-events/arch/x86/haswellx/uncore-memory.json
libpmcstat: compile in events based on json description
[FreeBSD/FreeBSD.git] / lib / libpmcstat / pmu-events / arch / x86 / haswellx / uncore-memory.json
1 [
2     {
3         "BriefDescription": "read requests to memory controller. Derived from unc_m_cas_count.rd",
4         "Counter": "0,1,2,3",
5         "EventCode": "0x4",
6         "EventName": "LLC_MISSES.MEM_READ",
7         "PerPkg": "1",
8         "ScaleUnit": "64Bytes",
9         "UMask": "0x3",
10         "Unit": "iMC"
11     },
12     {
13         "BriefDescription": "write requests to memory controller. Derived from unc_m_cas_count.wr",
14         "Counter": "0,1,2,3",
15         "EventCode": "0x4",
16         "EventName": "LLC_MISSES.MEM_WRITE",
17         "PerPkg": "1",
18         "ScaleUnit": "64Bytes",
19         "UMask": "0xC",
20         "Unit": "iMC"
21     },
22     {
23         "BriefDescription": "Memory controller clock ticks",
24         "Counter": "0,1,2,3",
25         "EventName": "UNC_M_CLOCKTICKS",
26         "PerPkg": "1",
27         "Unit": "iMC"
28     },
29     {
30         "BriefDescription": "Cycles where DRAM ranks are in power down (CKE) mode",
31         "Counter": "0,1,2,3",
32         "EventCode": "0x85",
33         "EventName": "UNC_M_POWER_CHANNEL_PPD",
34         "MetricExpr": "(UNC_M_POWER_CHANNEL_PPD / UNC_M_CLOCKTICKS) * 100.",
35         "MetricName": "power_channel_ppd %",
36         "PerPkg": "1",
37         "Unit": "iMC"
38     },
39     {
40         "BriefDescription": "Cycles all ranks are in critical thermal throttle",
41         "Counter": "0,1,2,3",
42         "EventCode": "0x86",
43         "EventName": "UNC_M_POWER_CRITICAL_THROTTLE_CYCLES",
44         "MetricExpr": "(UNC_M_POWER_CRITICAL_THROTTLE_CYCLES / UNC_M_CLOCKTICKS) * 100.",
45         "MetricName": "power_critical_throttle_cycles %",
46         "PerPkg": "1",
47         "Unit": "iMC"
48     },
49     {
50         "BriefDescription": "Cycles Memory is in self refresh power mode",
51         "Counter": "0,1,2,3",
52         "EventCode": "0x43",
53         "EventName": "UNC_M_POWER_SELF_REFRESH",
54         "MetricExpr": "(UNC_M_POWER_SELF_REFRESH / UNC_M_CLOCKTICKS) * 100.",
55         "MetricName": "power_self_refresh %",
56         "PerPkg": "1",
57         "Unit": "iMC"
58     },
59     {
60         "BriefDescription": "Pre-charges due to page misses",
61         "Counter": "0,1,2,3",
62         "EventCode": "0x2",
63         "EventName": "UNC_M_PRE_COUNT.PAGE_MISS",
64         "PerPkg": "1",
65         "UMask": "0x1",
66         "Unit": "iMC"
67     },
68     {
69         "BriefDescription": "Pre-charge for reads",
70         "Counter": "0,1,2,3",
71         "EventCode": "0x2",
72         "EventName": "UNC_M_PRE_COUNT.RD",
73         "PerPkg": "1",
74         "UMask": "0x4",
75         "Unit": "iMC"
76     },
77     {
78         "BriefDescription": "Pre-charge for writes",
79         "Counter": "0,1,2,3",
80         "EventCode": "0x2",
81         "EventName": "UNC_M_PRE_COUNT.WR",
82         "PerPkg": "1",
83         "UMask": "0x8",
84         "Unit": "iMC"
85     }
86 ]