diff options
Diffstat (limited to 'src/sim')
-rw-r--r-- | src/sim/faults.cc | 1 | ||||
-rw-r--r-- | src/sim/sim_object.cc | 7 | ||||
-rw-r--r-- | src/sim/sim_object.hh | 3 |
3 files changed, 0 insertions, 11 deletions
diff --git a/src/sim/faults.cc b/src/sim/faults.cc index 6149a8335..10f0b9a66 100644 --- a/src/sim/faults.cc +++ b/src/sim/faults.cc @@ -46,7 +46,6 @@ void FaultBase::invoke(ThreadContext * tc) void FaultBase::invoke(ThreadContext * tc) { DPRINTF(Fault, "Fault %s at PC: %#x\n", name(), tc->readPC()); - tc->getCpuPtr()->recordEvent(csprintf("Fault %s", name())); assert(!tc->misspeculating()); } diff --git a/src/sim/sim_object.cc b/src/sim/sim_object.cc index f7f539774..c66d766f9 100644 --- a/src/sim/sim_object.cc +++ b/src/sim/sim_object.cc @@ -35,7 +35,6 @@ #include "base/inifile.hh" #include "base/match.hh" #include "base/misc.hh" -#include "base/stats/events.hh" #include "base/trace.hh" #include "base/types.hh" #include "sim/sim_object.hh" @@ -220,12 +219,6 @@ debugObjectBreak(const char *objs) } #endif -void -SimObject::recordEvent(const std::string &stat) -{ - Stats::recordEvent(stat); -} - unsigned int SimObject::drain(Event *drain_event) { diff --git a/src/sim/sim_object.hh b/src/sim/sim_object.hh index d6d08f255..3a96cf8f6 100644 --- a/src/sim/sim_object.hh +++ b/src/sim/sim_object.hh @@ -136,9 +136,6 @@ class SimObject * char* rather than std::string to make it callable from gdb. */ static SimObject *find(const char *name); - - public: - void recordEvent(const std::string &stat); }; #endif // __SIM_OBJECT_HH__ |