wasm-micro-runtime/core/iwasm/common
liang.he 5c8b8a17a6
Enhancements on wasm function execution time statistic (#2985)
Enhance the statistic of wasm function execution time, or the performance
profiling feature:
- Add os_time_thread_cputime_us() to get the cputime of a thread,
  and use it to calculate the execution time of a wasm function
- Support the statistic of the children execution time of a function,
  and dump it in wasm_runtime_dump_perf_profiling
- Expose two APIs:
  wasm_runtime_sum_wasm_exec_time
  wasm_runtime_get_wasm_func_exec_time

And rename os_time_get_boot_microsecond to os_time_get_boot_us.
2024-01-17 09:51:54 +08:00
..
arch Add support for universal binaries on OSX (#2060) 2023-03-30 09:53:07 +08:00
iwasm_common.cmake Add support for universal binaries on OSX (#2060) 2023-03-30 09:53:07 +08:00
SConscript Add ia32 support and fix compiling issue for RT-Thread (#730) 2021-09-07 10:20:14 +08:00
wasm_application.c Fix printing ref.extern addresses in wasm_application.c (#2774) 2023-11-16 15:10:58 +08:00
wasm_blocking_op.c Implement async termination of blocking thread (#2516) 2023-09-20 18:11:52 +08:00
wasm_c_api_internal.h Return stack frames of crashed thread when using wasm-c-api (#2908) 2024-01-11 12:13:05 +08:00
wasm_c_api.c fix(wasm-c-api): Do not clone stack frames if there's no trap (#3008) 2024-01-15 18:18:37 +08:00
wasm_exec_env.c Extend os_mmap to support map file from fd (#2763) 2023-11-16 08:28:54 +08:00
wasm_exec_env.h Grab cluster->lock when modifying exec_env->module_inst (#2685) 2023-11-09 18:56:02 +08:00
wasm_memory.c Access linear memory size atomically (#2834) 2023-11-29 20:27:17 +08:00
wasm_memory.h Access linear memory size atomically (#2834) 2023-11-29 20:27:17 +08:00
wasm_native.c Register quick call entries to speedup the aot/jit func call process (#2978) 2024-01-10 16:44:09 +08:00
wasm_native.h Register quick call entries to speedup the aot/jit func call process (#2978) 2024-01-10 16:44:09 +08:00
wasm_runtime_common.c Enhancements on wasm function execution time statistic (#2985) 2024-01-17 09:51:54 +08:00
wasm_runtime_common.h Allow using mmap for shared memory if hw bound check is disabled (#3029) 2024-01-16 22:15:55 +08:00
wasm_shared_memory.c Refine lock/unlock shared memory (#2682) 2023-10-31 11:46:03 +08:00
wasm_shared_memory.h Refine lock/unlock shared memory (#2682) 2023-10-31 11:46:03 +08:00
wasm_suspend_flags.h Implement async termination of blocking thread (#2516) 2023-09-20 18:11:52 +08:00