gem5: bring fast build back to life and benchmark it on busy loop

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-01-22 00:00:00 +00:00
parent 0d5a41a3f8
commit 0bc76fc582
2 changed files with 47 additions and 14 deletions

View File

@@ -150,6 +150,9 @@ consts['build_type_choices'] = [
# -O0 -g
'debug'
]
consts['gem5_build_type_choices'] = consts['build_type_choices'] + [
'fast',
]
consts['build_type_default'] = 'opt'
# Files whose basename start with this are gitignored.
consts['tmp_prefix'] = 'tmp.'
@@ -333,7 +336,7 @@ Default: {}
)
self.add_argument(
'--gem5-build-type',
choices=consts['build_type_choices'],
choices=consts['gem5_build_type_choices'],
default=consts['build_type_default'],
help='gem5 build type, most often used for "debug" builds.'
)