wasm-micro-runtime/core/shared/platform/zephyr
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
..
platform_internal.h Fix typos in zephyr platform struct descriptions (#2818) 2023-11-24 08:47:38 +08:00
shared_platform.cmake re-org platform APIs, simplify porting process (#201) 2020-03-16 16:43:57 +08:00
zephyr_platform.c Extend os_mmap to support map file from fd (#2763) 2023-11-16 08:28:54 +08:00
zephyr_thread.c Enable AOT usage on M1 mac (#2618) 2023-10-07 16:05:10 +08:00
zephyr_time.c Enhancements on wasm function execution time statistic (#2985) 2024-01-17 09:51:54 +08:00