mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2026-04-18 18:18:44 +00:00
code style
This commit is contained in:
parent
7c0471097d
commit
1446918882
|
|
@ -2031,7 +2031,8 @@ wasm_runtime_dump_module_mem_consumption(const WASMModuleCommon *module)
|
||||||
|
|
||||||
MEM_PROF_PRINTF("WASM module memory consumption, total size: %u\n",
|
MEM_PROF_PRINTF("WASM module memory consumption, total size: %u\n",
|
||||||
mem_conspn.total_size);
|
mem_conspn.total_size);
|
||||||
MEM_PROF_PRINTF(" module struct size: %u\n", mem_conspn.module_struct_size);
|
MEM_PROF_PRINTF(" module struct size: %u\n",
|
||||||
|
mem_conspn.module_struct_size);
|
||||||
MEM_PROF_PRINTF(" types size: %u\n", mem_conspn.types_size);
|
MEM_PROF_PRINTF(" types size: %u\n", mem_conspn.types_size);
|
||||||
MEM_PROF_PRINTF(" imports size: %u\n", mem_conspn.imports_size);
|
MEM_PROF_PRINTF(" imports size: %u\n", mem_conspn.imports_size);
|
||||||
MEM_PROF_PRINTF(" funcs size: %u\n", mem_conspn.functions_size);
|
MEM_PROF_PRINTF(" funcs size: %u\n", mem_conspn.functions_size);
|
||||||
|
|
@ -2088,7 +2089,8 @@ wasm_runtime_dump_exec_env_mem_consumption(const WASMExecEnv *exec_env)
|
||||||
uint32 total_size =
|
uint32 total_size =
|
||||||
offsetof(WASMExecEnv, wasm_stack_u.bottom) + exec_env->wasm_stack_size;
|
offsetof(WASMExecEnv, wasm_stack_u.bottom) + exec_env->wasm_stack_size;
|
||||||
|
|
||||||
MEM_PROF_PRINTF("Exec env memory consumption, total size: %u\n", total_size);
|
MEM_PROF_PRINTF("Exec env memory consumption, total size: %u\n",
|
||||||
|
total_size);
|
||||||
MEM_PROF_PRINTF(" exec env struct size: %u\n",
|
MEM_PROF_PRINTF(" exec env struct size: %u\n",
|
||||||
offsetof(WASMExecEnv, wasm_stack_u.bottom));
|
offsetof(WASMExecEnv, wasm_stack_u.bottom));
|
||||||
#if WASM_ENABLE_INTERP != 0 && WASM_ENABLE_FAST_INTERP == 0
|
#if WASM_ENABLE_INTERP != 0 && WASM_ENABLE_FAST_INTERP == 0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user