----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://reviews.gem5.org/r/2373/ -----------------------------------------------------------
Review request for Default. Repository: gem5 Description ------- Changeset 10366:34927d10b72c --------------------------- 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. Diffs ----- src/python/m5/SimObject.py e2c43045a81b src/python/m5/params.py e2c43045a81b Diff: http://reviews.gem5.org/r/2373/diff/ Testing ------- Thanks, Andreas Hansson _______________________________________________ gem5-dev mailing list gem5-dev@gem5.org http://m5sim.org/mailman/listinfo/gem5-dev