aboutsummaryrefslogtreecommitdiff
path: root/lib/libpmc/pmu-events/arch/arm64/hisilicon/hip09/sys/uncore-cpa.json
blob: 7bcddec8a84fc5a5a61a8d606526d4149d4fdb62 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[
	{
		"ConfigCode": "0x00",
		"EventName": "cpa_cycles",
		"BriefDescription": "count of CPA cycles",
		"Compat": "0x00000030",
		"Unit": "hisi_sicl,cpa"
	},
	{
		"ConfigCode": "0x61",
		"EventName": "cpa_p1_wr_dat",
		"BriefDescription": "Number of write ops transmitted by the P1 port",
		"Compat": "0x00000030",
		"Unit": "hisi_sicl,cpa"
	},
	{
		"ConfigCode": "0x62",
		"EventName": "cpa_p1_rd_dat",
		"BriefDescription": "Number of read ops transmitted by the P1 port",
		"Compat": "0x00000030",
		"Unit": "hisi_sicl,cpa"
	},
	{
		"ConfigCode": "0x3",
		"EventName": "cpa_p1_rd_dat_64b",
		"BriefDescription": "Number of read ops transmitted by the P1 port which size is 64 bytes",
		"Compat": "0x00000030",
		"Unit": "hisi_sicl,cpa"
	},
	{
		"ConfigCode": "0x4",
		"EventName": "cpa_p1_rd_dat_32b",
		"BriefDescription": "Number of read ops transmitted by the P1 port which size is 32 bytes",
		"Compat": "0x00000030",
		"Unit": "hisi_sicl,cpa"
	},
	{
		"ConfigCode": "0xE1",
		"EventName": "cpa_p0_wr_dat",
		"BriefDescription": "Number of write ops transmitted by the P0 port",
		"Compat": "0x00000030",
		"Unit": "hisi_sicl,cpa"
	},
	{
		"ConfigCode": "0xE2",
		"EventName": "cpa_p0_rd_dat",
		"BriefDescription": "Number of read ops transmitted by the P0 port",
		"Compat": "0x00000030",
		"Unit": "hisi_sicl,cpa"
	},
	{
		"ConfigCode": "0x83",
		"EventName": "cpa_p0_rd_dat_64b",
		"BriefDescription": "Number of read ops transmitted by the P0 port which size is 64 bytes",
		"Compat": "0x00000030",
		"Unit": "hisi_sicl,cpa"
	},
	{
		"ConfigCode": "0x84",
		"EventName": "cpa_p0_rd_dat_32b",
		"BriefDescription": "Number of read ops transmitted by the P0 port which size is 32 bytes",
		"Compat": "0x00000030",
		"Unit": "hisi_sicl,cpa"
	},
	{
		"MetricExpr": "(cpa_p1_wr_dat * 64 + cpa_p1_rd_dat_64b * 64 + cpa_p1_rd_dat_32b * 32) / cpa_cycles",
		"BriefDescription": "Average bandwidth of CPA Port 1",
		"MetricGroup": "CPA",
		"MetricName": "cpa_p1_avg_bw",
		"Compat": "0x00000030",
		"Unit": "hisi_sicl,cpa"
	},
	{
		"MetricExpr": "(cpa_p0_wr_dat * 64 + cpa_p0_rd_dat_64b * 64 + cpa_p0_rd_dat_32b * 32) / cpa_cycles",
		"BriefDescription": "Average bandwidth of CPA Port 0",
		"MetricGroup": "CPA",
		"MetricName": "cpa_p0_avg_bw",
		"Compat": "0x00000030",
		"Unit": "hisi_sicl,cpa"
	}
]