TNeo  v1.07
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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...
 
int is_running
 For internal profiler self-check only: indicates whether task is running or not. More...
 
struct TN_TaskTiming timing
 Main timing structure managed by profiler. More...
 

Field Documentation

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.

int _TN_TaskProfiler::is_running

For internal profiler self-check only: indicates whether task is running or not.

Available if only TN_DEBUG is non-zero.

Definition at line 318 of file tn_tasks.h.

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: