Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the cputime clocks. (WebAssembly#197)
* Remove the cputime clocks. Remove $process_cputime_id and $thread_cputime_id. Some implementations will not have one wasm nanoprocess per OS process, or one wasm thread per OS thread, making it difficult to implement $process_cputime_id meaningfully. Also, the concept of "cputime" available in most host environments isn't easy to directly connect to what we might expect "cputime" to mean for wasm code. These correspond to `CLOCK_PROCESS_CPUTIME_ID` and `CLOCK_THREAD_CPUTIME_ID` in POSIX, which are optional: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/time.h.html * Auto-generate docs.
- Loading branch information