MADARA
3.4.1
|
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 10 of file PacketScheduler.cpp.
|
inline |
Constructor.
Definition at line 16 of file PacketScheduler.cpp.
|
inline |
Increases pass by stride.
Definition at line 47 of file PacketScheduler.cpp.
|
inline |
Checks for lower pass value.
Definition at line 23 of file PacketScheduler.cpp.
|
inline |
Checks for pass equality.
Definition at line 31 of file PacketScheduler.cpp.
|
inline |
Checks for greater pass value.
Definition at line 39 of file PacketScheduler.cpp.
|
inline |
Sets the ticket rate, which influences stride.
Definition at line 55 of file PacketScheduler.cpp.
bool StrideTask::operation |
the type of operation
Definition at line 85 of file PacketScheduler.cpp.
uint64_t StrideTask::pass |
the current pass which determines next schedule
Definition at line 75 of file PacketScheduler.cpp.
uint64_t StrideTask::stride |
the stride to take
Definition at line 70 of file PacketScheduler.cpp.
uint64_t StrideTask::tickets |
the number of tickets, which influences stride
Definition at line 80 of file PacketScheduler.cpp.