aboutsummaryrefslogtreecommitdiffstats
path: root/gen/mc_generators.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/mc_generators.py
parentf659a11e1c888b01cce64fee5ae064a67aa4d777 (diff)
Created infrastructure for calculating scaling factors.
Diffstat (limited to 'gen/mc_generators.py')
-rw-r--r--gen/mc_generators.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/gen/mc_generators.py b/gen/mc_generators.py
index bbb1ab9..704bcc3 100644
--- a/gen/mc_generators.py
+++ b/gen/mc_generators.py
@@ -256,7 +256,7 @@ COLOR_TYPES = ['scheduling', 'locking', 'unmanaged']
256 256
257class ColorMcGenerator(McGenerator): 257class ColorMcGenerator(McGenerator):
258 def __init__(self, params = {}): 258 def __init__(self, params = {}):
259 super(ColorMcGenerator, self).__init__("COLOR-MC", 259 super(ColorMcGenerator, self).__init__("MC",
260 templates=[TP_TYPE, TP_CHUNK, TP_COLOR_B, TP_COLOR_C], 260 templates=[TP_TYPE, TP_CHUNK, TP_COLOR_B, TP_COLOR_C],
261 options=self.__make_options(), 261 options=self.__make_options(),
262 params=self.__extend_params(params)) 262 params=self.__extend_params(params))
@@ -313,10 +313,7 @@ class ColorMcGenerator(McGenerator):
313 'System page size.'), 313 'System page size.'),
314 GenOption('wss', [float, int], [.5], 314 GenOption('wss', [float, int], [.5],
315 'Task working set sizes. Can be expressed as a fraction ' + 315 'Task working set sizes. Can be expressed as a fraction ' +
316 'of the cache.'), 316 'of the cache.')]
317 GenOption('align_unmanaged', [True, False], [True],
318 'Place all working sets of unmanaged task systems in '+
319 'the same location, for maximum interference.')]
320 317
321 318
322 def __get_wss_pages(self, params): 319 def __get_wss_pages(self, params):