APIs, concepts, guides, and more
RTTaskStatus

RTTaskStatus provides status information for a real-time task, including its current state, execution count, and timing statistics. Get with RTTask::StatusGet() and see Real-Time Tasks for more information. More...

Functions

 RTTaskStatus ()=default
 Default constructor.
 

Attributes

int64_t ExecutionCount = InvalidExecutionCount
 Number of times the task has executed.
 
uint64_t ExecutionTimeLast = InvalidExecutionTime
 Last execution time of the task in nanoseconds.
 
uint64_t ExecutionTimeMax = InvalidExecutionTime
 Maximum execution time of the task in nanoseconds.
 
double ExecutionTimeMean = InvalidExecutionTime
 Mean execution time of the task in nanoseconds.
 
uint64_t ExecutionTimeMin = std::numeric_limits<uint64_t>::max()
 Minimum execution time of the task in nanoseconds.
 
uint64_t StartTimeDeltaLast = InvalidExecutionTime
 Last difference between the current and previous start of the task execution in nanoseconds.
 
uint64_t StartTimeDeltaMax = InvalidExecutionTime
 Maximum difference between the current and previous start of the task execution in nanoseconds.
 
double StartTimeDeltaMean = InvalidExecutionTime
 Mean difference between the current and previous start of the task execution in nanoseconds.
 
RTTaskState State = RTTaskState::Dead
 Current state of the task.
 

Static Attributes

static constexpr int64_t InvalidExecutionCount = -1
 Invalid value for execution count, indicating the task has not executed.
 
static constexpr uint64_t InvalidExecutionTime = 0
 Invalid value for execution time, indicating timing is not enabled or the task has not executed.
 

Description

Definition at line 238 of file rttask.h.