Small application to convert gem5 results into an input file suitable for McPAT.

Checkout: git clone https://code.gso.ac.upc.edu/git/gem5-mcpat

Warning: Please do not contact me to fix the script to work with your latest version of the stats.txt format.
This script parses the text file with the simulation results (stats.txt). This is a very fragile process, and will probably break whenever GEM5 changes the results format, even if only slightly. If you have some time on your hands, please check how to use the Python interface in GEM5 to dump the results into a JSON file (this is already done for the simulator configuration file, and file src/python/m5/stats/__init__.py exposes the results through Python). If you get that integrated into GEM5 upstream, I'll be more than happy to help updating this script to handle JSON inputs as a more reliable source of information for simulation results.


Manager: LluĂ­s Vilanova