Alternative implementation to clock_gettime with CLOCK_PROCESS_CPUTIME_ID.
Uses std::chrono, and is measuring wall time instead of cpu time.