Sound Open Firmware
Loading...
Searching...
No Matches
task Struct Reference

Task used by schedulers. More...

#include <task.h>

Collaboration diagram for task:

Data Fields

uint64_t start
 start time in [ms] since now (LL only)
const struct sof_uuid_entry * uid
 Uuid.
uint16_t type
 type of the task (LL or EDF)
int16_t priority
 priority of the task (used by LL); lower runs first
uint16_t core
 execution core
uint16_t flags
 custom flags
struct schedule_data * sch
 scheduler bound to task
enum task_state state
 current state
void * data
 custom data passed to all ops
struct list_item list
 used by schedulers to hold tasks
void * priv_data
 task private data
struct task_ops ops
 task operations
struct k_work_delayable z_delayed_work
uint32_t cycles_sum
uint32_t cycles_max
uint32_t cycles_cnt

Detailed Description

Task used by schedulers.

Field Documentation

◆ core

uint16_t task::core

execution core

◆ cycles_cnt

uint32_t task::cycles_cnt

◆ cycles_max

uint32_t task::cycles_max

◆ cycles_sum

uint32_t task::cycles_sum

◆ data

void* task::data

custom data passed to all ops

◆ flags

uint16_t task::flags

custom flags

◆ list

struct list_item task::list

used by schedulers to hold tasks

◆ ops

struct task_ops task::ops

task operations

◆ priority

int16_t task::priority

priority of the task (used by LL); lower runs first

◆ priv_data

void* task::priv_data

task private data

◆ sch

struct schedule_data* task::sch

scheduler bound to task

◆ start

uint64_t task::start

start time in [ms] since now (LL only)

◆ state

enum task_state task::state

current state

◆ type

uint16_t task::type

type of the task (LL or EDF)

◆ uid

const struct sof_uuid_entry* task::uid

Uuid.

◆ z_delayed_work

struct k_work_delayable task::z_delayed_work

The documentation for this struct was generated from the following file:
  • /home/lrg/work/sof-dox-work/zephyr/include/rtos/task.h