cpu: Slightly modernize and simplify code in cpu/profile.(hh|cc).
authorGabe Black <gabeblack@google.com>
Sat, 4 Jul 2020 22:28:02 +0000 (15:28 -0700)
committerGabe Black <gabeblack@google.com>
Sat, 11 Jul 2020 00:24:13 +0000 (00:24 +0000)
commitf1fc7ba257dbd3e16e2a41900ca84935a40d0204
treea2548732e166c9c60d4d1525003e842d29db6a46
parent787fb4805583872d5a9dbfdea598a8912d8d82bd
cpu: Slightly modernize and simplify code in cpu/profile.(hh|cc).

Change-Id: Ideb104d20b333305ead2356cbfff2aac2e0173b5
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/30960
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
src/cpu/o3/thread_state.hh
src/cpu/profile.cc
src/cpu/profile.hh
src/cpu/simple_thread.cc