diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2017-01-30 12:00:05 +0000 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2017-05-02 12:37:32 +0000 |
commit | b046be6858c0a9ea3df48ff77481577226dcd8e8 (patch) | |
tree | 15a2a4844b0d54b0280ed24c7cd3900274d01734 /src/sim/eventq.hh | |
parent | 8eb84518f15fcef59da90e7ec72e2bc88fb5b59d (diff) | |
download | gem5-b046be6858c0a9ea3df48ff77481577226dcd8e8.tar.xz |
base, sim, dev: Remove SWIG
Remove SWIG guards and SWIG-specific C++ code.
Change-Id: Icaad6720513b6f48153727ef3f70e0dba0df4bee
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Andreas Hansson <andreas.hansson@arm.com>
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/2921
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Tony Gutierrez <anthony.gutierrez@amd.com>
Diffstat (limited to 'src/sim/eventq.hh')
-rw-r--r-- | src/sim/eventq.hh | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/sim/eventq.hh b/src/sim/eventq.hh index 0b76491ca..95a36ca7b 100644 --- a/src/sim/eventq.hh +++ b/src/sim/eventq.hh @@ -67,14 +67,11 @@ extern uint32_t numMainEventQueues; //! Array for main event queues. extern std::vector<EventQueue *> mainEventQueue; -#ifndef SWIG //! The current event queue for the running thread. Access to this queue //! does not require any locking from the thread. extern __thread EventQueue *_curEventQueue; -#endif - //! Current mode of execution: parallel / serial extern bool inParallelMode; @@ -356,13 +353,10 @@ class Event : public EventBase, public Serializable //! NULL. (Overridden in GlobalEvent::BarrierEvent.) virtual BaseGlobalEvent *globalEvent() { return NULL; } -#ifndef SWIG void serialize(CheckpointOut &cp) const override; void unserialize(CheckpointIn &cp) override; -#endif }; -#ifndef SWIG inline bool operator<(const Event &l, const Event &r) { @@ -401,7 +395,6 @@ operator!=(const Event &l, const Event &r) { return l.when() != r.when() || l.priority() != r.priority(); } -#endif /** * Queue of events sorted in time order @@ -489,7 +482,6 @@ class EventQueue EventQueue(const EventQueue &); public: -#ifndef SWIG /** * Temporarily migrate execution to a different event queue. * @@ -549,7 +541,6 @@ class EventQueue private: EventQueue &eq; }; -#endif EventQueue(const std::string &n); @@ -665,7 +656,6 @@ class EventQueue void dumpMainQueue(); -#ifndef SWIG class EventManager { protected: @@ -778,6 +768,5 @@ class EventWrapper : public Event const char *description() const { return "EventWrapped"; } }; -#endif #endif // __SIM_EVENTQ_HH__ |