Browse Source

Add back support for args.max_threads

Hamilton Turner 10 years ago
parent
commit
43eefe5661
1 changed files with 2 additions and 0 deletions
  1. 2 0
      toolset/benchmark/benchmarker.py

+ 2 - 0
toolset/benchmark/benchmarker.py

@@ -921,6 +921,8 @@ class Benchmarker:
         args['types'] = { args['type'] : types[args['type']] }
         args['types'] = { args['type'] : types[args['type']] }
     del args['type']
     del args['type']
 
 
+    args['max_threads'] = args['threads']
+
     self.__dict__.update(args)
     self.__dict__.update(args)
     # pprint(self.__dict__)
     # pprint(self.__dict__)