CLOCK_PROCESS_CPUTIME_ID is Linux-only
Brought to you by:
agraef
This particular clock is not implemented on many (all?) non-Linux systems. CLOCK_PROF seems like the best replacement, if available, falling back to CLOCK_REALTIME.
Please, consider the patch below. The idea is lifted from the enlightenment-devel mailing list's archive.
Thanks.
suitable replacements for CLOCK_PROCESS_CPUTIME_ID