diag: trace RTC synchronization and WSS clock state
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#ifndef TALKINGQ_APP_TIME_DIAG_H
|
||||
#define TALKINGQ_APP_TIME_DIAG_H
|
||||
|
||||
#include <time.h>
|
||||
|
||||
void talkingq_time_diag_boot(void);
|
||||
/* Raw kernel snapshot only: safe to call before the application's first RTC read. */
|
||||
void talkingq_time_diag_log(const char *phase);
|
||||
/* Returns the original time(NULL) sample for the existing WSS threshold check. */
|
||||
time_t talkingq_time_diag_wss_time(void);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user