It'd be awesome if one could obtain the numbers of ticks a thread has been ACTIVE using the standard library. It would allow for better time measurements and more specific performance information. Thank you!
Phil Lavoie
Comment #1 by dlang-bugzilla — 2017-07-05T18:13:01Z
For Windows: GetThreadTimes
For Linux: pthread_getcpuclockid + clock_gettime
Seems doable!
Comment #2 by robert.schadek — 2024-12-01T16:19:25Z