wasm-micro-runtime/core/shared/platform/windows
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_init.c Enable AOT usage on M1 mac (#2618) 2023-10-07 16:05:10 +08:00
platform_internal.h Extend os_mmap to support map file from fd (#2763) 2023-11-16 08:28:54 +08:00
shared_platform.cmake Abstract POSIX filesystem functions (#2585) 2023-10-19 19:19:39 +08:00
win_atomic.cpp Fix windows compilation on C++20 (#2670) 2023-10-25 20:47:56 +08:00
win_clock.c Refactor clock functions to use WASI types (#2666) 2023-10-25 18:06:04 +08:00
win_file.c Return error when shutdown() fails (#2801) 2023-11-24 21:03:59 +08:00
win_malloc.c Add bh_print_proc_mem() to dump memory info of current process (#1734) 2022-11-25 08:33:44 +08:00
win_memmap.c Extend os_mmap to support map file from fd (#2763) 2023-11-16 08:28:54 +08:00
win_socket.c Return error when shutdown() fails (#2801) 2023-11-24 21:03:59 +08:00
win_thread.c Merge branch main into dev/wasi-libc-windows 2023-10-09 09:24:00 +08:00
win_time.c Enhancements on wasm function execution time statistic (#2985) 2024-01-17 09:51:54 +08:00
win_util.c Return error when shutdown() fails (#2801) 2023-11-24 21:03:59 +08:00
win_util.h Return error when shutdown() fails (#2801) 2023-11-24 21:03:59 +08:00