diff options
author | Chun-Chen TK Hsu <chunchenhsu@google.com> | 2019-09-06 19:57:15 +0800 |
---|---|---|
committer | Chun-Chen TK Hsu <chunchenhsu@google.com> | 2019-09-10 10:01:24 +0000 |
commit | ebc1caf9e818d046a18919209a2afee55a37caf1 (patch) | |
tree | 18080fad4d0406bdd42195fe5d707fec078c55c1 /src/python/m5/main.py | |
parent | 946250181a9561fb80a8bd36e9c16b69ba1667ef (diff) | |
download | gem5-ebc1caf9e818d046a18919209a2afee55a37caf1.tar.xz |
stats: Ignore non-Group objects in stat hierarchy
Some objects, such as SystemC modules, are not a subclass of
Stat::Group. Calling the addStatGroup function on them causes errors.
This changes ignores those objects that are not Stat::Group in the stat
hierarchy.
Signed-off-by: Chun-Chen TK Hsu <chunchenhsu@google.com>
Change-Id: I9b62419417b7af7331461fbfaf15e45a4ee2b35f
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/20680
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/python/m5/main.py')
0 files changed, 0 insertions, 0 deletions