mirror of
https://github.com/GorgonMeducer/perf_counter.git
synced 2025-01-17 19:13:03 +08:00
update pack
This commit is contained in:
parent
a2483b2669
commit
0374348924
Binary file not shown.
@ -274,7 +274,7 @@
|
||||
__cpu_usage__.lTaskUsedCycles = stop_task_cycle_counter(); \
|
||||
\
|
||||
if (__PLOOC_VA_NUM_ARGS(__VA_ARGS__) == 0) { \
|
||||
printf("%s CPU Usage %2.3f %%", __func__, \
|
||||
printf("%s CPU Usage %2.3f%%\r\n", __func__, \
|
||||
(float)((double)__cpu_usage__.lTaskUsedCycles * 100.0 / \
|
||||
(double)__cpu_usage__.lTimeElapsed)); \
|
||||
} else { \
|
||||
|
Loading…
x
Reference in New Issue
Block a user