sim_events.hh (11070:d9560edaf0a9) | sim_events.hh (11168:f98eb2da15a4) |
---|---|
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 --- 78 unchanged lines hidden (view full) --- 87 88 const std::string getCause() const { return cause; } 89 const int getCode() const { return code; } 90 91 void process(); // process event 92 93 virtual const char *description() const; 94 | 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 --- 78 unchanged lines hidden (view full) --- 87 88 const std::string getCause() const { return cause; } 89 const int getCode() const { return code; } 90 91 void process(); // process event 92 93 virtual const char *description() const; 94 |
95 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE; 96 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE; | 95 void serialize(CheckpointOut &cp) const override; 96 void unserialize(CheckpointIn &cp) override; |
97 static Serializable *createForUnserialize(CheckpointIn &cp, 98 const std::string §ion); 99}; 100 101class CountedDrainEvent : public Event 102{ 103 private: 104 // Count of how many objects have not yet drained --- 33 unchanged lines hidden --- | 97 static Serializable *createForUnserialize(CheckpointIn &cp, 98 const std::string §ion); 99}; 100 101class CountedDrainEvent : public Event 102{ 103 private: 104 // Count of how many objects have not yet drained --- 33 unchanged lines hidden --- |