|
MADARA
3.1.8
|
INTERNAL USE: Task that can be added to a Stride scheduler More...
Public Member Functions | |
| StrideTask (double rate, bool op) | |
| Constructor. More... | |
| void | operator++ (void) |
| Increases pass by stride. More... | |
| bool | operator< (const StrideTask &rhs) const |
| Checks for lower pass value. More... | |
| bool | operator== (const StrideTask &rhs) const |
| Checks for pass equality. More... | |
| bool | operator> (const StrideTask &rhs) const |
| Checks for greater pass value. More... | |
| void | set_rate (double rate) |
| Sets the ticket rate, which influences stride. More... | |
Public Attributes | |
| bool | operation |
| the type of operation More... | |
| uint64_t | pass |
| the current pass which determines next schedule More... | |
| uint64_t | stride |
| the stride to take More... | |
| uint64_t | tickets |
| the number of tickets, which influences stride More... | |
INTERNAL USE: Task that can be added to a Stride scheduler
Definition at line 11 of file PacketScheduler.cpp.
|
inline |
Constructor.
Definition at line 17 of file PacketScheduler.cpp.
|
inline |
Increases pass by stride.
Definition at line 49 of file PacketScheduler.cpp.
|
inline |
Checks for lower pass value.
Definition at line 25 of file PacketScheduler.cpp.
|
inline |
Checks for pass equality.
Definition at line 33 of file PacketScheduler.cpp.
|
inline |
Checks for greater pass value.
Definition at line 41 of file PacketScheduler.cpp.
|
inline |
Sets the ticket rate, which influences stride.
Definition at line 57 of file PacketScheduler.cpp.
| bool StrideTask::operation |
the type of operation
Definition at line 87 of file PacketScheduler.cpp.
| uint64_t StrideTask::pass |
the current pass which determines next schedule
Definition at line 77 of file PacketScheduler.cpp.
| uint64_t StrideTask::stride |
the stride to take
Definition at line 72 of file PacketScheduler.cpp.
| uint64_t StrideTask::tickets |
the number of tickets, which influences stride
Definition at line 82 of file PacketScheduler.cpp.