diff options
author | Steve Reinhardt <stever@gmail.com> | 2008-03-24 01:08:02 -0400 |
---|---|---|
committer | Steve Reinhardt <stever@gmail.com> | 2008-03-24 01:08:02 -0400 |
commit | 627592c2f2a9d2774df50b2b5039efcb71432bc7 (patch) | |
tree | fe2cd42b91630181f7dfd9e595c885c42f56d4a5 /SConstruct | |
parent | 407710d387497f44de53baf0ae60a2c426c1bb74 (diff) | |
download | gem5-627592c2f2a9d2774df50b2b5039efcb71432bc7.tar.xz |
Add FAST_ALLOC_DEBUG and FAST_ALLOC_STATS as SConstruct options.
--HG--
extra : convert_revision : 56a7f646f2ac87019c78ba7fa62c5f4bdc00ba44
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index 1a54bbbf6..a76da3a65 100644 --- a/SConstruct +++ b/SConstruct @@ -537,6 +537,10 @@ sticky_opts.AddOptions( # scons 0.96.90 or later. ListOption('CPU_MODELS', 'CPU models', default_cpus, all_cpu_list), BoolOption('NO_FAST_ALLOC', 'Disable fast object allocator', False), + BoolOption('FAST_ALLOC_DEBUG', 'Enable fast object allocator debugging', + False), + BoolOption('FAST_ALLOC_STATS', 'Enable fast object allocator statistics', + False), BoolOption('EFENCE', 'Link with Electric Fence malloc debugger', False), BoolOption('SS_COMPATIBLE_FP', @@ -561,7 +565,8 @@ nonsticky_opts.AddOptions( # These options get exported to #defines in config/*.hh (see src/SConscript). env.ExportOptions = ['FULL_SYSTEM', 'ALPHA_TLASER', 'USE_FENV', \ - 'USE_MYSQL', 'NO_FAST_ALLOC', 'SS_COMPATIBLE_FP', \ + 'USE_MYSQL', 'NO_FAST_ALLOC', 'FAST_ALLOC_DEBUG', \ + 'FAST_ALLOC_STATS', 'SS_COMPATIBLE_FP', \ 'USE_CHECKER', 'PYTHONHOME', 'TARGET_ISA'] # Define a handy 'no-op' action |