viff

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 diff
     1.1 --- a/apps/benchutil.py	Tue Oct 27 14:54:54 2009 +0100
     1.2 +++ b/apps/benchutil.py	Tue Oct 27 15:32:47 2009 +0100
     1.3 @@ -80,11 +80,11 @@
     1.4          self.rt.schedule_callback(d, self.finished, termination_function)
     1.5          return d
     1.6  
     1.7 -    def sync_test(self, x):
     1.8 +    def sync_test(self, preprocessed_data):
     1.9          print "Synchronizing test start."
    1.10          sys.stdout.flush()
    1.11          sync = self.rt.synchronize()
    1.12 -        self.rt.schedule_callback(sync, lambda y: x)
    1.13 +        self.rt.schedule_callback(sync, lambda _: preprocessed_data)
    1.14          return sync
    1.15  
    1.16      def run_test(self, _):