Something like this:
Index: libstdc++-v3/src/c++11/chrono.cc =================================================================== --- libstdc++-v3/src/c++11/chrono.cc (revision 192652) +++ libstdc++-v3/src/c++11/chrono.cc (working copy) @@ -70,7 +70,11 @@ { timespec tp; // -EINVAL, -EFAULT +#ifdef CLOCK_MONOTONIC_RAW + clock_gettime(CLOCK_MONOTONIC_RAW, &tp); +#else clock_gettime(CLOCK_MONOTONIC, &tp); +#endif return time_point(duration(chrono::seconds(tp.tv_sec) + chrono::nanoseconds(tp.tv_nsec))); }
pgpx8JOIp7lSU.pgp
Description: PGP signature