diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-03-04 18:10:26 -0500 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-03-04 18:10:26 -0500 |
commit | 025f005224a11a79a29f09bd32d9d604f71a6d37 (patch) | |
tree | 8b56258e70c77a8604ef7cf1f8ee40eeb421f5f7 /test_get_arrays.py | |
parent | f66c5c64dc8f884c65fc215b90c490bbfdd96b54 (diff) |
Add PM data analyzer
Diffstat (limited to 'test_get_arrays.py')
-rw-r--r-- | test_get_arrays.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/test_get_arrays.py b/test_get_arrays.py deleted file mode 100644 index 74af08e..0000000 --- a/test_get_arrays.py +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | #!/usr/bin/python | ||
2 | import sys, pm | ||
3 | |||
4 | args = sys.argv[1:] | ||
5 | if len(args) != 1: | ||
6 | print "Filename required" | ||
7 | sys.exit(-1) | ||
8 | |||
9 | pm.load(args[0],0,4) | ||
10 | x = pm.getPreemption() | ||
11 | y = pm.getOnChipMigration() | ||
12 | z = pm.getL2Migration() | ||
13 | w = pm.getOffChipMigration() | ||
14 | print "preemption: " | ||
15 | print x | ||
16 | print "samechip:" | ||
17 | print y | ||
18 | print "l2:" | ||
19 | print z | ||
20 | print "offchip" | ||
21 | print w | ||