8#ifndef __SOF_LIB_AGENT_H__
9#define __SOF_LIB_AGENT_H__
27#if CONFIG_PERFORMANCE_COUNTERS
static void sa_exit(struct sof *sof)
Definition agent.h:61
static void sa_set_panic_on_delay(bool enabled)
Definition agent.h:62
static void sa_init(struct sof *sof, uint64_t timeout)
Definition agent.h:60
#define atomic_read(p)
Definition atomic.h:17
Simple performance counters.
struct sof * sof_get(void)
struct task work
Definition agent.h:30
bool panic_on_delay
emits panic on delay if true
Definition agent.h:32
atomic_t panic_cnt
ref counter for panic_on_delay property
Definition agent.h:31
uint64_t last_check
Definition agent.h:24
uint64_t panic_timeout
Definition agent.h:25
uint64_t warn_timeout
Definition agent.h:26
General firmware context.
Definition sof.h:44
struct sa * sa
Definition sof.h:55
Task used by schedulers.
Definition task.h:56