time output
This commit is contained in:
@ -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();
|
||||||
|
Reference in New Issue
Block a user