Files
gem5/tests/gem5/stats
Bobby R. Bruce 2771061207 stdlib,tests: Add StatTester SimObject and Scalar tests
This SimObject can be used to quickly test the statistics are
functioning correctly. The SimObject schedules a single event which sets
the statistics to values dependent on the SimObject params.

With this commit the "Scalar" stats have a StatTester subclass that can
be used for testing. More can be added as required.

Tests are included to check our Scalar SimStat functionality.

Change-Id: I78fa5d9a0c3fc7115bd6c6d3410a5436aaa47f55
2024-04-04 13:04:20 -07:00
..

Stats

These test ensure the stats are output correctly.

  1. "test_hdf5" - Test hdf5 output. Runs a simulation and ensures the hdf5 output exists.
  2. "test_simstats_output" - Tests the SimStat python module is parsing and outputting the stats correctly.
./main.py run gem5/stats --length=[length]