diag: trace RTC synchronization and WSS clock state

This commit is contained in:
chenjintao
2026-10-26 11:55:40 +08:00
parent b2c78208bf
commit c53a117368
14 changed files with 439 additions and 4 deletions
@@ -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