static void timeInfo(void) { scheduleMsg(logger, "chTimeNow as seconds = %d", getTimeNowSeconds()); scheduleMsg(logger, "hal seconds = %d", halTime.get() / 168000000LL); #if EFI_RTC || defined(__DOXYGEN__) int unix = rtcGetTimeUnixSec(&RTCD1) - rtcStartTime; scheduleMsg(logger, "unix seconds = %d", unix); #endif }
//todo: macro to save method invocation efitick_t getTimeNowNt(void) { return halTime.get(); }