|
Sound Open Firmware
|
Core task structure managed by SOF schedulers. More...
#include <zephyr/include/rtos/task.h>

Data Fields | |
| uint64_t | start |
| Scheduler/domain-specific start state (e.g. | |
| const struct sof_uuid_entry * | uid |
| UUID identifying the task or associated component. | |
| uint16_t | type |
| Scheduler type identifier (SOF_SCHEDULE_*). | |
| int16_t | priority |
| Priority of the task (lower values run first). | |
| uint16_t | core |
| Execution core ID affinity. | |
| uint16_t | flags |
| Custom task flags. | |
| struct schedule_data * | sch |
| Pointer to scheduler instance bound to this task. | |
| enum task_state | state |
| Current task lifecycle state. | |
| void * | data |
| Custom context pointer passed to task operations. | |
| struct list_item | list |
| List node linking task into scheduler run queue. | |
| void * | priv_data |
| Scheduler-specific private task context. | |
| struct task_ops | ops |
| Task operations callbacks table. | |
| struct k_work_delayable | z_delayed_work |
| Zephyr delayable work item (used by legacy EDF). | |
| uint32_t | cycles_sum |
| Cumulative execution cycles. | |
| uint32_t | cycles_max |
| Maximum cycle count recorded in a single run. | |
| uint32_t | cycles_cnt |
| Number of completed execution runs. | |
Core task structure managed by SOF schedulers.
| uint16_t task::core |
Execution core ID affinity.
| uint32_t task::cycles_cnt |
Number of completed execution runs.
| uint32_t task::cycles_max |
Maximum cycle count recorded in a single run.
| uint32_t task::cycles_sum |
Cumulative execution cycles.
| void* task::data |
Custom context pointer passed to task operations.
| uint16_t task::flags |
Custom task flags.
| struct list_item task::list |
List node linking task into scheduler run queue.
| struct task_ops task::ops |
Task operations callbacks table.
| int16_t task::priority |
Priority of the task (lower values run first).
| void* task::priv_data |
Scheduler-specific private task context.
| struct schedule_data* task::sch |
Pointer to scheduler instance bound to this task.
| uint64_t task::start |
Scheduler/domain-specific start state (e.g.
absolute next-run tick timestamp in LL).
| enum task_state task::state |
Current task lifecycle state.
| uint16_t task::type |
Scheduler type identifier (SOF_SCHEDULE_*).
| const struct sof_uuid_entry* task::uid |
UUID identifying the task or associated component.
| struct k_work_delayable task::z_delayed_work |
Zephyr delayable work item (used by legacy EDF).