oveRTOS C API
Embedded RTOS framework — build system, configuration, and portable C API
Loading...
Searching...
No Matches
Data Fields
ove_thread_info Struct Reference

Snapshot of a single thread's info. More...

#include <thread.h>

Collaboration diagram for ove_thread_info:
Collaboration graph
[legend]

Data Fields

const char * name
 
ove_thread_state_t state
 
int priority
 
size_t stack_used
 
size_t stack_size
 
uint32_t cpu_percent_x100
 
struct ove_thread_state_times state_times
 

Detailed Description

Snapshot of a single thread's info.

Field Documentation

◆ name

const char* ove_thread_info::name

Thread name (static, do not free).

◆ state

ove_thread_state_t ove_thread_info::state

Execution state.

◆ priority

int ove_thread_info::priority

Priority level.

◆ stack_used

size_t ove_thread_info::stack_used

Stack high-water mark (bytes).

◆ stack_size

size_t ove_thread_info::stack_size

Total stack allocation (bytes).

◆ cpu_percent_x100

uint32_t ove_thread_info::cpu_percent_x100

CPU usage in 0.01% units (e.g. 1250 = 12.50%).

◆ state_times

struct ove_thread_state_times ove_thread_info::state_times

Per-state cumulative time.


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