CPUInfo: print time upto 4 decimal points

This commit is contained in:
Siddharth Purohit 2021-07-05 15:06:59 +05:30 committed by Andrew Tridgell
parent d484477a99
commit 47a3298236

View File

@ -61,7 +61,7 @@ static void show_sizes(void)
FIFTYTIMES(op); \
} \
us_end = AP_HAL::micros(); \
hal.console->printf("%-10s %7.2f usec/call\n", name, double(us_end - us_start) / double(count * 50.0)); \
hal.console->printf("%-10s %7.4f usec/call\n", name, double(us_end - us_start) / double(count * 50.0)); \
hal.scheduler->delay(10); \
} while (0)