This commit is contained in:
2021-02-07 21:45:17 +01:00
parent fef7d14506
commit 8ae5831620

View File

@ -44,9 +44,10 @@ void second_tick(void *handle) {
uint32_t cnt = tmpSum / tmpCnt;
double f = 1.0 / ((double)cnt) * 1.0e6;
uint32_t ff = (uint32_t) ((f + 0.005) * 100);
t_seconds *seconds = wizGetSeconds();
coloredMsg(LOG_GREEN, "Tick %f %d %lu %lu", f, seconds->valid, seconds->missedUpdates, seconds->seconds);
coloredMsg(LOG_GREEN, "Tick %ld %f %d %lu %lu", ff, f, seconds->valid, seconds->missedUpdates, seconds->seconds);
}