diff options
author | Mac Mollison <mollison@cs.unc.edu> | 2009-02-24 16:40:05 -0500 |
---|---|---|
committer | Mac Mollison <mollison@cs.unc.edu> | 2009-02-24 16:40:05 -0500 |
commit | 7b8659ca348e02403e5d2681e268140a78cc959d (patch) | |
tree | dd935c02b22936d556421e810024e11334a07862 /run.py | |
parent | 06183c3957b7c25fdcafd802460aef28b9f11e61 (diff) |
Very minor change
-Cleaned up some commentary in sta.py
-Added path variable to run.py
Diffstat (limited to 'run.py')
-rwxr-xr-x | run.py | 45 |
1 files changed, 23 insertions, 22 deletions
@@ -16,7 +16,7 @@ def main(): | |||
16 | #trace.filter("when<2500000000") | 16 | #trace.filter("when<2500000000") |
17 | #trace.filter("forced?==True") | 17 | #trace.filter("forced?==True") |
18 | 18 | ||
19 | #trace.filter("type==1") | 19 | trace.filter("type==1") |
20 | #trace.sort(lambda x: x['pid'] or 0) | 20 | #trace.sort(lambda x: x['pid'] or 0) |
21 | 21 | ||
22 | for record in trace.iter: | 22 | for record in trace.iter: |
@@ -30,37 +30,38 @@ def main(): | |||
30 | # Put lists of your trace files here # | 30 | # Put lists of your trace files here # |
31 | ###################################### | 31 | ###################################### |
32 | 32 | ||
33 | path = '/home/mollison/sta/traces/' | ||
33 | 34 | ||
34 | full_list = [ | 35 | full_list = [ |
35 | '/home/mollison/sta-alt/traces/st-g6-0.bin', | 36 | path + 'st-g6-0.bin', |
36 | '/home/mollison/sta-alt/traces/st-g6-1.bin', | 37 | path + 'st-g6-1.bin', |
37 | '/home/mollison/sta-alt/traces/st-g6-2.bin', | 38 | path + 'st-g6-2.bin', |
38 | '/home/mollison/sta-alt/traces/st-g6-3.bin', | 39 | path + 'st-g6-3.bin', |
39 | '/home/mollison/sta-alt/traces/st-x19-0.bin', | 40 | path + 'st-x19-0.bin', |
40 | '/home/mollison/sta-alt/traces/st-x19-1.bin', | 41 | path + 'st-x19-1.bin', |
41 | '/home/mollison/sta-alt/traces/st-x19-2.bin', | 42 | path + 'st-x19-2.bin', |
42 | '/home/mollison/sta-alt/traces/st-x19-3.bin', | 43 | path + 'st-x19-3.bin', |
43 | '/home/mollison/sta-alt/traces/st0.fg', | 44 | path + 'st0.fg', |
44 | '/home/mollison/sta-alt/traces/st1.fg'] | 45 | path + 'st1.fg'] |
45 | 46 | ||
46 | short_list = [ | 47 | short_list = [ |
47 | '/home/mollison/sta-alt/traces/st-x19-2.bin'] | 48 | path + 'st-x19-2.bin'] |
48 | 49 | ||
49 | g6_list = [ | 50 | g6_list = [ |
50 | '/home/mollison/sta-alt/traces/st-g6-0.bin', | 51 | path + 'st-g6-0.bin', |
51 | '/home/mollison/sta-alt/traces/st-g6-1.bin', | 52 | path + 'st-g6-1.bin', |
52 | '/home/mollison/sta-alt/traces/st-g6-2.bin', | 53 | path + 'st-g6-2.bin', |
53 | '/home/mollison/sta-alt/traces/st-g6-3.bin'] | 54 | path + 'st-g6-3.bin'] |
54 | 55 | ||
55 | x19_list = [ | 56 | x19_list = [ |
56 | '/home/mollison/sta-alt/traces/st-x19-0.bin', | 57 | path + 'st-x19-0.bin', |
57 | '/home/mollison/sta-alt/traces/st-x19-1.bin', | 58 | path + 'st-x19-1.bin', |
58 | '/home/mollison/sta-alt/traces/st-x19-2.bin', | 59 | path + 'st-x19-2.bin', |
59 | '/home/mollison/sta-alt/traces/st-x19-3.bin'] | 60 | path + 'st-x19-3.bin'] |
60 | 61 | ||
61 | simple_list = [ | 62 | simple_list = [ |
62 | '/home/mollison/sta-alt/traces/st0.fg', | 63 | path + 'st0.fg', |
63 | '/home/mollison/sta-alt/traces/st1.fg'] | 64 | path + 'st1.fg'] |
64 | 65 | ||
65 | 66 | ||
66 | ############## | 67 | ############## |