mcx::container::TaskTime

mcx::container::TaskTime

Module: Container

Internal time source. More…

#include <ct_time.h>

Public Attributes

Name
struct timespec app_time
A relative time from the start of the the task.
struct timespec sys_time
Current time and date.
uint64_t cycle_time
Actual cycle time in microseconds.
uint64_t nr_of_cycles
Number of cycles from the start of the task.

Detailed Description

struct mcx::container::TaskTime;

Internal time source.

TaskTime includes various time measurements: actual time measured from the start of the task, a system time, a cycle time, and a number of execution cycles.

Public Attributes Documentation

variable app_time

struct timespec app_time;

A relative time from the start of the the task.

variable sys_time

struct timespec sys_time;

Current time and date.

variable cycle_time

uint64_t cycle_time;

Actual cycle time in microseconds.

variable nr_of_cycles

uint64_t nr_of_cycles;

Number of cycles from the start of the task.


Updated on 2022-04-05 at 16:21:27 +0200