changeset 828:fe3bcd629827

Simplified code.
author Martin Geisler <mg@daimi.au.dk>
date Sun, 13 Jul 2008 16:35:00 +0200
parents 58c1a0dfbcfc
children 405569e5cb96
files apps/benchmark.py
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/apps/benchmark.py	Sun Jul 13 16:28:15 2008 +0200
+++ b/apps/benchmark.py	Sun Jul 13 16:35:00 2008 +0200
@@ -192,20 +192,13 @@
         raise NotImplemented("Override this abstract method in a sub class.")
 
     def finished(self, _):
-        print "Finished, synchronizing shutdown."
         sys.stdout.flush()
 
         if self.rt._needed_data:
             print "Missing pre-processed data:"
             pprint(self.rt._needed_data)
 
-        sync = self.rt.synchronize()
-        sync.addCallback(lambda _: reactor.callLater(5, self.shutdown, None))
-
-    def shutdown(self, _):
-        print "Shutdown."
         self.rt.shutdown()
-        print "Stopped VIFF Runtime."
 
 # This class implements a benchmark where run_test executes all
 # operations in parallel.