sim_events.hh (10906:3ab1d7ed6545) | sim_events.hh (11070:d9560edaf0a9) |
---|---|
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 --- 49 unchanged lines hidden (view full) --- 58 std::string cause; 59 int code; 60 Tick repeat; 61 62 public: 63 // non-scheduling version for createForUnserialize() 64 GlobalSimLoopExitEvent(); 65 GlobalSimLoopExitEvent(Tick when, const std::string &_cause, int c, | 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 --- 49 unchanged lines hidden (view full) --- 58 std::string cause; 59 int code; 60 Tick repeat; 61 62 public: 63 // non-scheduling version for createForUnserialize() 64 GlobalSimLoopExitEvent(); 65 GlobalSimLoopExitEvent(Tick when, const std::string &_cause, int c, |
66 Tick repeat = 0, bool serialize = false); | 66 Tick repeat = 0); |
67 68 const std::string getCause() const { return cause; } 69 const int getCode() const { return code; } 70 71 void process(); // process event 72 73 virtual const char *description() const; 74}; 75 76class LocalSimLoopExitEvent : public Event 77{ 78 protected: 79 // string explaining why we're terminating 80 std::string cause; 81 int code; 82 Tick repeat; 83 84 public: 85 LocalSimLoopExitEvent(); | 67 68 const std::string getCause() const { return cause; } 69 const int getCode() const { return code; } 70 71 void process(); // process event 72 73 virtual const char *description() const; 74}; 75 76class LocalSimLoopExitEvent : public Event 77{ 78 protected: 79 // string explaining why we're terminating 80 std::string cause; 81 int code; 82 Tick repeat; 83 84 public: 85 LocalSimLoopExitEvent(); |
86 LocalSimLoopExitEvent(const std::string &_cause, int c, Tick repeat = 0, 87 bool serialize = false); | 86 LocalSimLoopExitEvent(const std::string &_cause, int c, Tick repeat = 0); |
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 --- 43 unchanged lines hidden --- | 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 --- 43 unchanged lines hidden --- |