aboutsummaryrefslogtreecommitdiffstats
path: root/test_get_arrays.py
diff options
context:
space:
mode:
Diffstat (limited to 'test_get_arrays.py')
-rw-r--r--test_get_arrays.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/test_get_arrays.py b/test_get_arrays.py
new file mode 100644
index 0000000..74af08e
--- /dev/null
+++ b/test_get_arrays.py
@@ -0,0 +1,21 @@
1#!/usr/bin/python
2import sys, pm
3
4args = sys.argv[1:]
5if len(args) != 1:
6 print "Filename required"
7 sys.exit(-1)
8
9pm.load(args[0],0,4)
10x = pm.getPreemption()
11y = pm.getOnChipMigration()
12z = pm.getL2Migration()
13w = pm.getOffChipMigration()
14print "preemption: "
15print x
16print "samechip:"
17print y
18print "l2:"
19print z
20print "offchip"
21print w