sim: Remove declaration of unused CountedDrainEvent
authorAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 3 Jan 2017 17:31:39 +0000 (17:31 +0000)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 3 Jan 2017 17:31:39 +0000 (17:31 +0000)
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>
src/sim/sim_events.hh

index 8fb04408a9fbd0a98550d103178f18ab9b3048c6..6343071dc53b1d387d129932d0efcdc1baa627a2 100644 (file)
@@ -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*