sim_events.hh (10756:f9c0692f73ec) | sim_events.hh (10762:fe0972727902) |
---|---|
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 --- 57 unchanged lines hidden (view full) --- 66 Tick repeat = 0, bool serialize = false); 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; | 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 --- 57 unchanged lines hidden (view full) --- 66 Tick repeat = 0, bool serialize = false); 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 virtual ~GlobalSimLoopExitEvent() { 76 // simulate()'s singleton GlobalSimLoopExitEvent is always scheduled 77 deschedule(); 78 } | |
79}; 80 81class LocalSimLoopExitEvent : public Event 82{ 83 protected: 84 // string explaining why we're terminating 85 std::string cause; 86 int code; --- 59 unchanged lines hidden --- | 74}; 75 76class LocalSimLoopExitEvent : public Event 77{ 78 protected: 79 // string explaining why we're terminating 80 std::string cause; 81 int code; --- 59 unchanged lines hidden --- |