wasm-micro-runtime/core/shared
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
..
coap Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
mem-alloc Add compilation flag to enable/disable heap corruption check (#2766) 2023-11-15 17:20:50 +08:00
platform Enhancements on wasm function execution time statistic (#2985) 2024-01-17 09:51:54 +08:00
utils Enhancements on wasm function execution time statistic (#2985) 2024-01-17 09:51:54 +08:00