summaryrefslogtreecommitdiff
path: root/src/unittest
diff options
context:
space:
mode:
authorAndrew Bardsley <Andrew.Bardsley@arm.com>2014-09-20 17:17:42 -0400
committerAndrew Bardsley <Andrew.Bardsley@arm.com>2014-09-20 17:17:42 -0400
commit7329c0e20ba2c78f57dd53e90246ccbe3efa158d (patch)
tree06dbea7c6630c57b1884131316b9b69204345c16 /src/unittest
parent41fc8a573ea61b2463606a0714a9e563494da329 (diff)
downloadgem5-7329c0e20ba2c78f57dd53e90246ccbe3efa158d.tar.xz
config: Cleanup .json config file generation
This patch 'completes' .json config files generation by adding in the SimObject references and String-valued parameters not currently printed. TickParamValues are also changed to print in the same tick-value format as in .ini files. This allows .json files to describe a system as fully as the .ini files currently do. This patch adds a new function config_value (which mirrors ini_str) to each ParamValue and to SimObject. This function can then be explicitly changed to give different .json and .ini printing behaviour rather than being written in terms of ini_str.
Diffstat (limited to 'src/unittest')
0 files changed, 0 insertions, 0 deletions