TNeo  v1.08
Data Fields
_TN_TaskProfiler Struct Reference

Detailed Description

Internal kernel structure for profiling data of task.

Available if only TN_PROFILER option is non-zero.

Definition at line 302 of file tn_tasks.h.

Data Fields

TN_TickCnt last_tick_cnt
 Tick count of when the task got running or non-running last time.
 
enum TN_WaitReason last_wait_reason
 Available if only TN_PROFILER_WAIT_TIME option is non-zero. More...
 
struct TN_TaskTiming timing
 Main timing structure managed by profiler. More...
 

Field Documentation

◆ last_wait_reason

enum TN_WaitReason _TN_TaskProfiler::last_wait_reason

Available if only TN_PROFILER_WAIT_TIME option is non-zero.

Value of task->task_wait_reason when task got non-running last time.

Definition at line 311 of file tn_tasks.h.

◆ timing

struct TN_TaskTiming _TN_TaskProfiler::timing

Main timing structure managed by profiler.

Contents of this structure can be read by tn_task_profiler_timing_get() function.

Definition at line 323 of file tn_tasks.h.


The documentation for this struct was generated from the following file: