diff options
author | Mac Mollison <mollison@cs.unc.edu> | 2010-03-14 00:58:31 -0500 |
---|---|---|
committer | Mac Mollison <mollison@cs.unc.edu> | 2010-03-14 00:58:31 -0500 |
commit | 53752df921cc50450926a57ee11301693504c5c5 (patch) | |
tree | 793ebcfa97e15e7854604a8650229d0935ec4f1e /scripts/gedf_test.py | |
parent | 6f2bdc8c3eff8305d3b50e81c874a3e015069459 (diff) |
Added progress submodule to report progress.
This submodule allows us to measure the speed at which
trace files are processed and reports on its progress as
it goes along.
Diffstat (limited to 'scripts/gedf_test.py')
-rwxr-xr-x | scripts/gedf_test.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/gedf_test.py b/scripts/gedf_test.py index 209b01c..2f67bc0 100755 --- a/scripts/gedf_test.py +++ b/scripts/gedf_test.py | |||
@@ -23,6 +23,7 @@ from unit_trace import gedf_test | |||
23 | from unit_trace import stats | 23 | from unit_trace import stats |
24 | from unit_trace import stdout_printer | 24 | from unit_trace import stdout_printer |
25 | from unit_trace import visualizer | 25 | from unit_trace import visualizer |
26 | from unit_trace import progress | ||
26 | 27 | ||
27 | # Get trace files from command line arguments | 28 | # Get trace files from command line arguments |
28 | from optparse import OptionParser | 29 | from optparse import OptionParser |
@@ -44,6 +45,10 @@ stream = trace_reader.trace_reader(traces) | |||
44 | # Filter out garbage events | 45 | # Filter out garbage events |
45 | stream = sanitizer.sanitizer(stream) | 46 | stream = sanitizer.sanitizer(stream) |
46 | 47 | ||
48 | # Display progress information using stderr | ||
49 | # e.g. # records completed so far, total time, etc. | ||
50 | stream = progress.progress(stream) | ||
51 | |||
47 | # Produce G-EDF error records | 52 | # Produce G-EDF error records |
48 | stream = gedf_test.gedf_test(stream) | 53 | stream = gedf_test.gedf_test(stream) |
49 | 54 | ||