diff options
Diffstat (limited to 'configs/example')
-rw-r--r-- | configs/example/ruby_fs.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/configs/example/ruby_fs.py b/configs/example/ruby_fs.py index e30f40bd5..33f2fd0e5 100644 --- a/configs/example/ruby_fs.py +++ b/configs/example/ruby_fs.py @@ -72,9 +72,15 @@ parser.add_option("-i", "--input", default="", help="Read stdin from a file.") parser.add_option("--output", default="", help="Redirect stdout to a file.") parser.add_option("--errout", default="", help="Redirect stderr to a file.") +# cache parameters +parser.add_option("--l1d_size", type="string", default="32kB") +parser.add_option("--l1i_size", type="string", default="32kB") +parser.add_option("--l2_size", type="string", default="1MB") +parser.add_option("--l1d_assoc", type="int", default=2) +parser.add_option("--l1i_assoc", type="int", default=2) +parser.add_option("--l2_assoc", type="int", default=16) + # ruby host memory experimentation -parser.add_option("--cache_size", type="int") -parser.add_option("--cache_assoc", type="int") parser.add_option("--map_levels", type="int") execfile(os.path.join(config_root, "common", "Options.py")) |