time output

This commit is contained in:
2021-02-07 23:43:53 +01:00
parent ae53559b04
commit a625004729

View File

@ -26,7 +26,7 @@ void counterTick(void *handle) {
uint64_t cnt = tmpSum / tmpCnt; uint64_t cnt = tmpSum / tmpCnt;
// double f = 1.0 / ((double)cnt) * 1.0e6; // double f = 1.0 / ((double)cnt) * 1.0e6;
uint64_t freq = 100 * 1.0e6 / cnt; uint64_t freq = 1000 * 1.0e6 / cnt;
// uint32_t ff = (uint32_t) ((f + 0.005) * 100); // uint32_t ff = (uint32_t) ((f + 0.005) * 100);
t_seconds *seconds = wizGetSeconds(); t_seconds *seconds = wizGetSeconds();