aboutsummaryrefslogtreecommitdiffstats
path: root/test_get_arrays.py
blob: 74af08edcc8e6a9b7d3680a3473a15991ecdf5ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/python
import sys, pm

args = sys.argv[1:]
if len(args) != 1:
    print "Filename required"
    sys.exit(-1)

pm.load(args[0],0,4)
x = pm.getPreemption()
y = pm.getOnChipMigration()
z = pm.getL2Migration()
w = pm.getOffChipMigration()
print "preemption: "
print x
print "samechip:"
print y
print "l2:"
print z
print "offchip"
print w