eventq.hh (11072:6a447a3138ef) eventq.hh (11168:f98eb2da15a4)
1/*
2 * Copyright (c) 2000-2005 The Regents of The University of Michigan
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * Copyright (c) 2013 Mark D. Hill and David A. Wood
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are

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

353 Priority priority() const { return _priority; }
354
355 //! If this is part of a GlobalEvent, return the pointer to the
356 //! Global Event. By default, there is no GlobalEvent, so return
357 //! NULL. (Overridden in GlobalEvent::BarrierEvent.)
358 virtual BaseGlobalEvent *globalEvent() { return NULL; }
359
360#ifndef SWIG
1/*
2 * Copyright (c) 2000-2005 The Regents of The University of Michigan
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * Copyright (c) 2013 Mark D. Hill and David A. Wood
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are

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

353 Priority priority() const { return _priority; }
354
355 //! If this is part of a GlobalEvent, return the pointer to the
356 //! Global Event. By default, there is no GlobalEvent, so return
357 //! NULL. (Overridden in GlobalEvent::BarrierEvent.)
358 virtual BaseGlobalEvent *globalEvent() { return NULL; }
359
360#ifndef SWIG
361 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE;
362 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE;
361 void serialize(CheckpointOut &cp) const override;
362 void unserialize(CheckpointIn &cp) override;
363#endif
364};
365
366#ifndef SWIG
367inline bool
368operator<(const Event &l, const Event &r)
369{
370 return l.when() < r.when() ||

--- 414 unchanged lines hidden ---
363#endif
364};
365
366#ifndef SWIG
367inline bool
368operator<(const Event &l, const Event &r)
369{
370 return l.when() < r.when() ||

--- 414 unchanged lines hidden ---