44 #if defined(BARO) || defined(SONAR)
114 #define LOAD_PERCENTAGE_ONE 100
int taskQueueSize
Definition: ninja_sched.h:101
Definition: ninja_sched.h:62
void(* taskFunc)(struct ninja_sched *self)
Definition: ninja_sched.h:71
Definition: ninja_sched.h:6
Definition: system_calls.h:136
uint32_t maxExecutionTime
Definition: ninja_sched.h:19
cfTaskId_e
Definition: ninja_sched.h:25
Definition: ninja_sched.h:37
const char * taskName
Definition: ninja_sched.h:15
Definition: ninja_sched.h:56
uint32_t totalWaitingTasks
Definition: ninja_sched.h:93
const struct config * config
Definition: ninja_sched.h:104
cfTaskPriority_e
Definition: ninja_sched.h:5
void ninja_sched_init(struct ninja_sched *self, const struct system_calls_time *time, const struct config *config)
Definition: ninja_sched.c:174
Definition: ninja_sched.h:28
bool isEnabled
Definition: ninja_sched.h:16
Definition: ninja_sched.h:9
Definition: ninja_sched.h:14
uint32_t realtimeGuardInterval
Definition: ninja_sched.h:95
uint32_t desiredPeriod
Definition: ninja_sched.h:72
void ninja_sched_get_task_info(struct ninja_sched *self, cfTaskId_e taskId, cfTaskInfo_t *taskInfo)
Definition: ninja_sched.c:135
Definition: ninja_sched.h:88
uint32_t averageExecutionTime
Definition: ninja_sched.h:82
Definition: ninja_sched.h:31
void ninja_sched_run(struct ninja_sched *self)
Definition: ninja_sched.c:226
uint16_t taskAgeCycles
Definition: ninja_sched.h:77
uint16_t averageSystemLoadPercent
Definition: ninja_sched.h:98
uint8_t staticPriority
Definition: ninja_sched.h:18
cfTask_t * currentTask
Definition: ninja_sched.h:91
Definition: ninja_sched.h:10
Definition: ninja_sched.h:32
const uint8_t staticPriority
Definition: ninja_sched.h:73
uint32_t maxExecutionTime
Definition: ninja_sched.h:84
Definition: ninja_sched.h:29
uint32_t taskLatestDeltaTime
Definition: ninja_sched.h:83
uint32_t totalWaitingTasksSamples
Definition: ninja_sched.h:94
uint16_t ninja_sched_get_load(struct ninja_sched *self)
Definition: ninja_sched.c:309
uint32_t lastExecutedAt
Definition: ninja_sched.h:78
uint16_t dynamicPriority
Definition: ninja_sched.h:76
uint32_t latestDeltaTime
Definition: ninja_sched.h:22
Definition: ninja_sched.h:67
const char * taskName
Definition: ninja_sched.h:69
uint32_t totalExecutionTime
Definition: ninja_sched.h:20
uint32_t averageExecutionTime
Definition: ninja_sched.h:21
uint32_t desiredPeriod
Definition: ninja_sched.h:17
Definition: ninja_sched.h:30
uint32_t currentTime
Definition: ninja_sched.h:97
bool(* checkFunc)(struct ninja_sched *self, uint32_t currentDeltaTime)
Definition: ninja_sched.h:70
Definition: ninja_sched.h:33
int taskQueuePos
Definition: ninja_sched.h:100
Definition: ninja_sched.h:8
Definition: ninja_sched.h:63
cfTask_t * taskQueueArray[TASK_COUNT+1]
Definition: ninja_sched.h:90
Definition: ninja_sched.h:59
uint32_t totalExecutionTime
Definition: ninja_sched.h:85
Definition: ninja_sched.h:27
Definition: ninja_sched.h:7
const struct system_calls_time * time
Definition: ninja_sched.h:103
uint32_t lastSignaledAt
Definition: ninja_sched.h:79
Definition: ninja_sched.h:11