Std::chrono or boost::chrono support for CLOCK_MONOTONIC_COARSE
Running on Linux (uname says:) Linux 2.6.32-431.29.2.el6.x86_64 #1 SMP Sun Jul 27 15:55:46 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux My tests show that clock_gettime calls with a clock id of CLOCK_MONOTONIC_COARSE are an order of magnitude faster than calls that use a clock id CLOCK_MONOTONIC. Here's a sample output from a test run which called clock_gettime one million times in a tight loop and measured the lapsed time in milliseconds: CLOCK_MONOTONIC lapse 795 CLOCK_MONOTONIC_COARSE lapse 27 This pleases me and makes the profiler results look better, however I was hoping that I could use std: