stats: Output new-world stats before legacy stats
authorAndreas Sandberg <andreas.sandberg@arm.com>
Mon, 5 Oct 2020 14:27:55 +0000 (15:27 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Fri, 9 Oct 2020 09:56:52 +0000 (09:56 +0000)
commit85a3feb3cd4c1400353bd3215a574f5bf59d9189
treed5018f790aa0c123ea93720139bd67ddc83128f3
parentb9c7dae41f3bac65042fba4ca1b6ec0a1e4f0780
stats: Output new-world stats before legacy stats

Now that global stats have been converted to new-style stats, it's
desirable to output them before legacy stats. This ensures that global
statistics (e.g., host_seconds) show up first in the stat file.

Change-Id: Ib099d0152a6612ebbadd234c27f2f3448aef1260
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/35617
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/python/m5/stats/__init__.py