summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMac Mollison <mollison@cs.unc.edu>2010-02-08 02:06:36 -0500
committerMac Mollison <mollison@cs.unc.edu>2010-02-08 02:06:36 -0500
commitd260162e66d5f15d6f133bc50c2dd47107e228de (patch)
tree9af85662fed1e20a0217e647e139219a4021af9a
parent4f8a5a5727346b73a3ccd8e3120db8193de34960 (diff)
Renamed module names to be more intuitive
- trace.py -> trace_reader.py - text_print.py -> stdout_printer.py
-rwxr-xr-xrun.py8
-rwxr-xr-xruntests.py4
-rw-r--r--stdout_printer.py (renamed from text_print.py)0
-rw-r--r--trace_reader.py (renamed from trace.py)0
4 files changed, 6 insertions, 6 deletions
diff --git a/run.py b/run.py
index ca13708..ad9a6e0 100755
--- a/run.py
+++ b/run.py
@@ -12,8 +12,8 @@
12# Imports 12# Imports
13############################################################################### 13###############################################################################
14 14
15import trace 15import trace_reader
16import text_print 16import stdout_printer
17 17
18############################################################################### 18###############################################################################
19# Trace files 19# Trace files
@@ -30,5 +30,5 @@ g4 = [
30# Pipeline 30# Pipeline
31############################################################################### 31###############################################################################
32 32
33stream = trace.get_trace_record_stream(g4) 33stream = trace_reader.get_trace_record_stream(g4)
34text_print.print_stream(stream) 34stdout_printer.print_stream(stream)
diff --git a/runtests.py b/runtests.py
index dbbc9a9..06c5caa 100755
--- a/runtests.py
+++ b/runtests.py
@@ -11,7 +11,7 @@
11# Imports 11# Imports
12############################################################################### 12###############################################################################
13 13
14import trace 14import trace_reader
15import os 15import os
16 16
17############################################################################### 17###############################################################################
@@ -31,7 +31,7 @@ files = [
31 31
32# Does the trace reader sort files by time correctly? 32# Does the trace reader sort files by time correctly?
33def test1(): 33def test1():
34 stream = trace.get_trace_record_stream(files) 34 stream = trace_reader.get_trace_record_stream(files)
35 last_time = 0 35 last_time = 0
36 for item in stream: 36 for item in stream:
37 if last_time > item.when: 37 if last_time > item.when:
diff --git a/text_print.py b/stdout_printer.py
index 98e91fa..98e91fa 100644
--- a/text_print.py
+++ b/stdout_printer.py
diff --git a/trace.py b/trace_reader.py
index a0a32ce..a0a32ce 100644
--- a/trace.py
+++ b/trace_reader.py