eventq.hh (10991:72781d410e48) | eventq.hh (10992:c88952d67db2) |
---|---|
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 --- 324 unchanged lines hidden (view full) --- 333 void squash() { flags.set(Squashed); } 334 335 /// Check whether the event is squashed 336 bool squashed() const { return flags.isSet(Squashed); } 337 338 /// See if this is a SimExitEvent (without resorting to RTTI) 339 bool isExitEvent() const { return flags.isSet(IsExitEvent); } 340 | 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 --- 324 unchanged lines hidden (view full) --- 333 void squash() { flags.set(Squashed); } 334 335 /// Check whether the event is squashed 336 bool squashed() const { return flags.isSet(Squashed); } 337 338 /// See if this is a SimExitEvent (without resorting to RTTI) 339 bool isExitEvent() const { return flags.isSet(IsExitEvent); } 340 |
341 /// Check whether this event will auto-delete 342 bool isAutoDelete() const { return flags.isSet(AutoDelete); } 343 |
|
341 /// Get the time that the event is scheduled 342 Tick when() const { return _when; } 343 344 /// Get the event priority 345 Priority priority() const { return _priority; } 346 347 //! If this is part of a GlobalEvent, return the pointer to the 348 //! Global Event. By default, there is no GlobalEvent, so return --- 433 unchanged lines hidden --- | 344 /// Get the time that the event is scheduled 345 Tick when() const { return _when; } 346 347 /// Get the event priority 348 Priority priority() const { return _priority; } 349 350 //! If this is part of a GlobalEvent, return the pointer to the 351 //! Global Event. By default, there is no GlobalEvent, so return --- 433 unchanged lines hidden --- |