wasm-micro-runtime/core/iwasm/libraries
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
..
debug-engine Update release notes and fix issues reported by Coverity (#1813) 2022-12-20 14:37:07 +08:00
lib-pthread Fix potential recursive lock in pthread_create_wrapper (#2980) 2024-01-08 09:43:31 +08:00
lib-rats Attestation: Free JSON from the Wasm module heap (#2803) 2023-11-22 10:48:14 +08:00
lib-socket Enable WASI tests on Windows CI (#2699) 2023-11-06 19:24:06 +08:00
lib-wasi-threads Fix potential recursive lock in pthread_create_wrapper (#2980) 2024-01-08 09:43:31 +08:00
libc-builtin Enhancements on wasm function execution time statistic (#2985) 2024-01-17 09:51:54 +08:00
libc-emcc Expose wasm_runtime_call_indirect (#1969) 2023-02-20 18:56:55 +08:00
libc-uvwasi Return uint32 from WASI functions (#2749) 2023-11-13 20:07:32 +08:00
libc-wasi Rename rwlock_init to avoid conflict (#3016) 2024-01-16 08:53:18 +08:00
thread-mgr Enhancements on wasm function execution time statistic (#2985) 2024-01-17 09:51:54 +08:00
wasi-nn Remove module instance from hashmap in wasi_nn_destroy (#2613) 2023-10-03 08:33:11 +08:00