mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
CPUInfo: print time upto 4 decimal points
This commit is contained in:
parent
d484477a99
commit
47a3298236
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user