Skip to content

Commit 82a9bf3

Browse files
hoshinolinamarcan
authored andcommitted
hv/trace_agx_pwr.py: Cleanup
Signed-off-by: Asahi Lina <[email protected]>
1 parent 9360a92 commit 82a9bf3

1 file changed

Lines changed: 6 additions & 56 deletions

File tree

proxyclient/hv/trace_agx_pwr.py

Lines changed: 6 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -7,71 +7,21 @@
77
Ver.set_version(hv.u.version)
88

99
trace_device("/arm-io/sgx", True)
10-
trace_device("/arm-io/pmp", True)
11-
trace_device("/arm-io/gfx-asc", False)
10+
#trace_device("/arm-io/pmp", True)
11+
#trace_device("/arm-io/gfx-asc", False)
1212

1313
from m1n1.trace.agx import AGXTracer
1414
AGXTracer = AGXTracer._reloadcls(True)
1515

1616
agx_tracer = AGXTracer(hv, "/arm-io/gfx-asc", verbose=1)
17-
agx_tracer.trace_kernmap = True
18-
agx_tracer.trace_kernva = True
17+
agx_tracer.trace_kernmap = False
18+
agx_tracer.trace_kernva = False
1919
agx_tracer.trace_usermap = False
2020

2121
sgx = hv.adt["/arm-io/sgx"]
2222

23-
#voltages = [400, 634, 650, 668, 715, 778, 903]
24-
#freqs = [0, 600, 600, 600, 1000, 1000, 1200]
25-
#voltages = [400, 500, 600, 700, 800, 900, 1000]
26-
freqs = [0, 1200, 1200, 1200, 1200, 1200, 1200]
27-
freqs = [0, 600, 700, 800, 900, 950, 1200]
28-
voltages = [400, 500, 600, 700, 800, 900, 1000]
29-
30-
##freqs = [0, 500, 600, 700, 800, 900, 1000]
31-
#freqs = [0, 500, 500, 500, 1175, 1190, 1400]
32-
##freqs = [0, 0, 200, 400, 600, 800, 2500]
33-
##freqs = [0, 0, 1, 2, 1, 1, 1000]
34-
#voltages = [1000, 1000, 2000, 4000, 4000, 4000, 1000]
35-
##voltages = [1000, 10000, 1000, 1000, 1000, 1000, 1000]
36-
37-
#freqs = [0, 500, 600, 700, 800, 900, 1000]
38-
freqs = [0, 500, 500, 500, 1175, 1190, 1400]
39-
#freqs = [0, 0, 200, 400, 600, 800, 2500]
40-
#freqs = [0, 0, 1, 2, 1, 1, 1000]
41-
voltages = [1000, 1000, 1414, 2000, 4000, 4000, 1000]
42-
#voltages = [1000, 10000, 1000, 1000, 1000, 1000, 1000]
43-
44-
freqs = [0, 0, 0, 0, 0, 0, 1000]
45-
voltages = [0, 0, 0, 0, 0, 0, 1000]
46-
47-
"""
48-
F V
49-
1500 1000 208000.0
50-
1000 1000 180293.0
51-
500 1000 98684.0
52-
0 1000 17069.0
53-
0 750 8169.0
54-
0 500 3842.0
55-
0 250 1377.0
56-
0 100 492.0
57-
0 4 91.0
58-
0 3 86.0
59-
0 2 86.0
60-
0 1 79.0
61-
0 0 0
62-
"""
63-
64-
clusters = [
65-
22716.0,
66-
22745.0,
67-
22712.0,
68-
22659.0,
69-
70-
22395.0,
71-
22384.0,
72-
22344.0,
73-
22338.0,
74-
]
23+
freqs = []
24+
voltages = []
7525

7626
for j in range(8):
7727
for i, v in enumerate(voltages):

0 commit comments

Comments
 (0)