|
gem5 [DEVELOP-FOR-25.0]
|
#include <utility_structs.hh>
Public Member Functions | |
| TimedQueue (Tick latency) | |
| void | push (T item, Tick insertion_time) |
| void | pop () |
| T | front () const |
| bool | empty () const |
| size_t | size () const |
| bool | hasReady (Tick current_time) const |
Private Attributes | |
| Tick | latency |
| std::queue< T > | items |
| std::queue< Tick > | insertionTimes |
Definition at line 44 of file utility_structs.hh.
|
inline |
Definition at line 53 of file utility_structs.hh.
References latency.
|
inline |
|
inline |
Definition at line 67 of file utility_structs.hh.
References items.
|
inline |
Definition at line 73 of file utility_structs.hh.
References empty(), insertionTimes, and latency.
|
inline |
Definition at line 61 of file utility_structs.hh.
References insertionTimes, and items.
|
inline |
Definition at line 55 of file utility_structs.hh.
References insertionTimes, and items.
|
inline |
Definition at line 71 of file utility_structs.hh.
References items.
|
private |
Definition at line 50 of file utility_structs.hh.
Referenced by hasReady(), pop(), and push().
|
private |
|
private |
Definition at line 47 of file utility_structs.hh.
Referenced by hasReady(), and TimedQueue().