sim,cpu: make exit_group halt all threads in a group
[gem5.git] / 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*