changeset 1376:98059854fc52

benchmark: better argument name
author Martin Geisler <mg@cs.au.dk>
date Tue, 27 Oct 2009 15:32:47 +0100
parents 3f6c65d4c9c1
children 73a79bf6c5d0
files apps/benchutil.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/apps/benchutil.py	Tue Oct 27 14:54:54 2009 +0100
+++ b/apps/benchutil.py	Tue Oct 27 15:32:47 2009 +0100
@@ -80,11 +80,11 @@
         self.rt.schedule_callback(d, self.finished, termination_function)
         return d
 
-    def sync_test(self, x):
+    def sync_test(self, preprocessed_data):
         print "Synchronizing test start."
         sys.stdout.flush()
         sync = self.rt.synchronize()
-        self.rt.schedule_callback(sync, lambda y: x)
+        self.rt.schedule_callback(sync, lambda _: preprocessed_data)
         return sync
 
     def run_test(self, _):