summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2017-01-03 17:31:39 +0000
committerAndreas Sandberg <andreas.sandberg@arm.com>2017-01-03 17:31:39 +0000
commit1738a7d2601ba757ae6ab36f0549a50396d73e45 (patch)
treee2710b8f67bcca7adb63d3329765851dbb4107e7 /src
parentc8b1e8f1cfdb5b66bacbbbd23dcf9ebb5a0f3b95 (diff)
downloadgem5-1738a7d2601ba757ae6ab36f0549a50396d73e45.tar.xz
sim: Remove declaration of unused CountedDrainEvent
The CountedDrainEvent event was used to keep track of objects that required additional simulation to drain. It was removed as a part of the great drain rewrite, but the declaration remained. Change-Id: I767a3213669040d3f27e2afafa2e4a5bb997e325 Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Diffstat (limited to 'src')
-rw-r--r--src/sim/sim_events.hh16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/sim/sim_events.hh b/src/sim/sim_events.hh
index 8fb04408a..6343071dc 100644
--- a/src/sim/sim_events.hh
+++ b/src/sim/sim_events.hh
@@ -98,22 +98,6 @@ class LocalSimLoopExitEvent : public Event
const std::string &section);
};
-class CountedDrainEvent : public Event
-{
- private:
- // Count of how many objects have not yet drained
- int count;
-
- public:
- CountedDrainEvent();
-
- void process() override;
-
- void setCount(int _count) { count = _count; }
-
- int getCount() const { return count; }
-};
-
//
// Event class to terminate simulation after 'n' related events have
// occurred using a shared counter: used to terminate when *all*