diff options
Diffstat (limited to 'gnuradio-runtime/lib/high_res_timer.cc')
-rw-r--r-- | gnuradio-runtime/lib/high_res_timer.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnuradio-runtime/lib/high_res_timer.cc b/gnuradio-runtime/lib/high_res_timer.cc new file mode 100644 index 0000000000..37e7e322a8 --- /dev/null +++ b/gnuradio-runtime/lib/high_res_timer.cc @@ -0,0 +1,8 @@ +#include <gnuradio/high_res_timer.h> + +#ifdef GNURADIO_HRT_USE_CLOCK_GETTIME +clockid_t gr::high_res_timer_source = CLOCK_THREAD_CPUTIME_ID; +#endif + + + |