diff options
author | Gabe Black <gabeblack@google.com> | 2017-08-25 17:39:18 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2017-09-11 04:58:38 +0000 |
commit | b9d8700a38ccecfbe97c152bc9fc3b7c3b09e9a2 (patch) | |
tree | 4335c0296aa9f02e3f9378fe983165d80f691f5c /src/kern/kernel_stats.hh | |
parent | 725b19a8154fa557ab3057f07d7cd3c6d798789d (diff) | |
download | gem5-b9d8700a38ccecfbe97c152bc9fc3b7c3b09e9a2.tar.xz |
stats: Get rid of some kernel stats related cruft.
The kernel stat mechanism should really be refactored and moved somewhere
else, but in the mean time there's some old cruft that can be cleared away.
Change-Id: I21e725de590dda0d20bf3bc675bbe976c7b1bd86
Reviewed-on: https://gem5-review.googlesource.com/4600
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/kern/kernel_stats.hh')
-rw-r--r-- | src/kern/kernel_stats.hh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/kern/kernel_stats.hh b/src/kern/kernel_stats.hh index efaf70611..d516baaec 100644 --- a/src/kern/kernel_stats.hh +++ b/src/kern/kernel_stats.hh @@ -34,13 +34,10 @@ #include <string> -#include "config/the_isa.hh" #include "sim/serialize.hh" #include "sim/stats.hh" // What does kernel stats expect is included? -class System; - namespace Kernel { class Statistics : public Serializable @@ -63,7 +60,7 @@ class Statistics : public Serializable Tick iplLastTick; public: - Statistics(System *system); + Statistics(); virtual ~Statistics() {} const std::string name() const { return myname; } |