eventq.hh (10992:c88952d67db2) eventq.hh (11015:f35e317d2e1e)
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

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

561 void deschedule(Event *event);
562
563 //! Reschedule the specified event. Should be called only from
564 //! the owning thread.
565 void reschedule(Event *event, Tick when, bool always = false);
566
567 Tick nextTick() const { return head->when(); }
568 void setCurTick(Tick newVal) { _curTick = newVal; }
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

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

561 void deschedule(Event *event);
562
563 //! Reschedule the specified event. Should be called only from
564 //! the owning thread.
565 void reschedule(Event *event, Tick when, bool always = false);
566
567 Tick nextTick() const { return head->when(); }
568 void setCurTick(Tick newVal) { _curTick = newVal; }
569 Tick getCurTick() { return _curTick; }
569 Tick getCurTick() const { return _curTick; }
570 Event *getHead() const { return head; }
571
572 Event *serviceOne();
573
574 // process all events up to the given timestamp. we inline a
575 // quick test to see if there are any events to process; if so,
576 // call the internal out-of-line version to process them all.
577 void

--- 207 unchanged lines hidden ---
570 Event *getHead() const { return head; }
571
572 Event *serviceOne();
573
574 // process all events up to the given timestamp. we inline a
575 // quick test to see if there are any events to process; if so,
576 // call the internal out-of-line version to process them all.
577 void

--- 207 unchanged lines hidden ---