Flávio Cruz, le mar. 25 avril 2023 22:26:53 -0400, a ecrit: > Ok, but none of the clock(), getrusage() and times() functions expose > nano-second precision. If we can avoid complexity when we don't actually > need it, I'd rather avoid it :) > > > Sounds fair, but doesn't clock_gettime use struct timespec?
Ah, you mean with CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID? Right, we'd rather try to implement them. Samuel