sim_events.hh (10762:fe0972727902) sim_events.hh (10905:a6ca6831e775)
1/*
2 * Copyright (c) 2013 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 79 unchanged lines hidden (view full) ---

88
89 const std::string getCause() const { return cause; }
90 const int getCode() const { return code; }
91
92 void process(); // process event
93
94 virtual const char *description() const;
95
1/*
2 * Copyright (c) 2013 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 79 unchanged lines hidden (view full) ---

88
89 const std::string getCause() const { return cause; }
90 const int getCode() const { return code; }
91
92 void process(); // process event
93
94 virtual const char *description() const;
95
96 virtual void serialize(std::ostream &os);
97 virtual void unserialize(Checkpoint *cp, const std::string &section);
98 virtual void unserialize(Checkpoint *cp, const std::string &section,
99 EventQueue *eventq);
100 static Serializable *createForUnserialize(Checkpoint *cp,
96 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE;
97 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE;
98 void unserializeEvent(CheckpointIn &cp,
99 EventQueue *eventq) M5_ATTR_OVERRIDE;
100 static Serializable *createForUnserialize(CheckpointIn &cp,
101 const std::string &section);
102};
103
104class CountedDrainEvent : public Event
105{
106 private:
107 // Count of how many objects have not yet drained
108 int count;

--- 32 unchanged lines hidden ---
101 const std::string &section);
102};
103
104class CountedDrainEvent : public Event
105{
106 private:
107 // Count of how many objects have not yet drained
108 int count;

--- 32 unchanged lines hidden ---