mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-06-18 02:59:21 +00:00
Fix formatting in aot_dump_perf_profiling (#2796)
Changes %d to %PRIu32.
This commit is contained in:
parent
73cd1969f4
commit
aebe30426f
|
@ -2965,12 +2965,14 @@ aot_dump_perf_profiling(const AOTModuleInstance *module_inst)
|
|||
func_name = get_func_name_from_index(module_inst, i);
|
||||
|
||||
if (func_name)
|
||||
os_printf(" func %s, execution time: %.3f ms, execution count: %d "
|
||||
"times\n",
|
||||
func_name, perf_prof->total_exec_time / 1000.0f,
|
||||
perf_prof->total_exec_cnt);
|
||||
os_printf(
|
||||
" func %s, execution time: %.3f ms, execution count: %" PRIu32
|
||||
"times\n",
|
||||
func_name, perf_prof->total_exec_time / 1000.0f,
|
||||
perf_prof->total_exec_cnt);
|
||||
else
|
||||
os_printf(" func %d, execution time: %.3f ms, execution count: %d "
|
||||
os_printf(" func %" PRIu32
|
||||
", execution time: %.3f ms, execution count: %" PRIu32
|
||||
"times\n",
|
||||
i, perf_prof->total_exec_time / 1000.0f,
|
||||
perf_prof->total_exec_cnt);
|
||||
|
|
Loading…
Reference in New Issue
Block a user