73 static uint32_t sysm_timestamp = 0;
77 if (sysm_timestamp == local_timer) {
80 sysm_timestamp = local_timer;
82 uint32_t time_since_last_call = 0;
83 uint32_t max_allowed_jitter = 0;
91 if ((time_since_last_call > max_allowed_jitter) &&
122 #ifdef UNITY_UNIT_TEST
DIAG_RETURNTYPE_e DIAG_Handler(DIAG_ID_e diag_id, DIAG_EVENT_e event, DIAG_IMPACT_LEVEL_e impact, uint32_t data)
DIAG_Handler provides generic error handling, based on diagnosis group.
@ DIAG_ID_SYSTEMMONITORING
#define FAS_ASSERT(x)
Assertion macro that asserts that x is true.
#define FAS_TRAP
Define that evaluates to essential boolean false thus tripping an assert.
Declaration of the OS wrapper interface.
void OS_ExitTaskCritical(void)
Exit Critical interface function for use in FreeRTOS-Tasks and FreeRTOS-ISR.
void OS_EnterTaskCritical(void)
Enter Critical interface function for use in FreeRTOS-Tasks and FreeRTOS-ISR.
uint32_t OS_GetTickCount(void)
Returns OS based system tick value.
void(* callbackfunc)(SYSM_TASK_ID_e taskID)
SYSM_NOTIFICATION_s * TEST_SYSM_GetNotifications(void)
void SYSM_CheckNotifications(void)
overall system monitoring
static SYSM_NOTIFICATION_s sysm_notifications[SYSM_TASK_ID_MAX]
void SYSM_Notify(SYSM_TASK_ID_e taskId, SYSM_NOTIFY_TYPE_e state, uint32_t time)
Sets needed bits to indicate that a task is running.
enum SYSM_NOTIFY_TYPE SYSM_NOTIFY_TYPE_e
SYSM_MONITORING_CFG_s sysm_ch_cfg[]
enum SYSM_TASK_ID SYSM_TASK_ID_e