summaryrefslogtreecommitdiffstats
path: root/Demo/threads
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/threads')
-rw-r--r--Demo/threads/find.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Demo/threads/find.py b/Demo/threads/find.py
index e97bd99..3bc54fe 100644
--- a/Demo/threads/find.py
+++ b/Demo/threads/find.py
@@ -110,11 +110,11 @@ def main():
for dir in args:
wq.addwork(find, (dir, selector, wq))
- t1 = time.millitimer()
+ t1 = time.time()
wq.run(nworkers)
- t2 = time.millitimer()
+ t2 = time.time()
- sys.stderr.write('Total time ' + `t2-t1` + ' msec.\n')
+ sys.stderr.write('Total time ' + `t2-t1` + ' sec.\n')
# The predicate -- defines what files we look for.