aboutsummaryrefslogtreecommitdiffstats
path: root/gen/generator.py
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-04-17 10:43:53 -0400
committerJonathan Herman <hermanjl@cs.unc.edu>2013-04-17 10:43:53 -0400
commita0e4b9fe9d7fab9a50a626cfeda3c614a9a6af5d (patch)
treec2d753ec6533dfd8be46214bc19e2b4aa044af74 /gen/generator.py
parentf659a11e1c888b01cce64fee5ae064a67aa4d777 (diff)
Created infrastructure for calculating scaling factors.
Diffstat (limited to 'gen/generator.py')
-rw-r--r--gen/generator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen/generator.py b/gen/generator.py
index 1205490..693e52f 100644
--- a/gen/generator.py
+++ b/gen/generator.py
@@ -77,7 +77,7 @@ class Generator(object):
77 77
78 def __make_options(self, params): 78 def __make_options(self, params):
79 '''Return generic Litmus options.''' 79 '''Return generic Litmus options.'''
80 return [GenOption('num_tasks', int, 80 return [GenOption('tasks', int,
81 range(self.cpus, 5*self.cpus, self.cpus), 81 range(self.cpus, 5*self.cpus, self.cpus),
82 'Number of tasks per experiment.'), 82 'Number of tasks per experiment.'),
83 GenOption('cpus', int, [self.cpus], 83 GenOption('cpus', int, [self.cpus],