changeset c10c50cb8ac9 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=c10c50cb8ac9
description:
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 <[email protected]>
Reviewed-by: Curtis Dunham <[email protected]>
diffstat:
src/sim/sim_events.hh | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
diffs (26 lines):
diff -r 342c0eaab188 -r c10c50cb8ac9 src/sim/sim_events.hh
--- a/src/sim/sim_events.hh Tue Jan 03 12:03:45 2017 +0000
+++ b/src/sim/sim_events.hh Tue Jan 03 17:31:39 2017 +0000
@@ -98,22 +98,6 @@
const std::string §ion);
};
-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*
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev