wasm-micro-runtime/core/iwasm
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
..
aot Enhancements on wasm function execution time statistic (#2985) 2024-01-17 09:51:54 +08:00
common Enhancements on wasm function execution time statistic (#2985) 2024-01-17 09:51:54 +08:00
compilation aot debug: Try to use a bit more appropriate file names (#3000) 2024-01-15 15:02:12 +08:00
doc Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00
fast-jit Enhancements on wasm function execution time statistic (#2985) 2024-01-17 09:51:54 +08:00
include Enhancements on wasm function execution time statistic (#2985) 2024-01-17 09:51:54 +08:00
interpreter Enhancements on wasm function execution time statistic (#2985) 2024-01-17 09:51:54 +08:00
libraries Enhancements on wasm function execution time statistic (#2985) 2024-01-17 09:51:54 +08:00
README.md Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00