commit | 16de1bf91ca80e62ce257a24cae471fab140bbe0 | [log] [tgz] |
---|---|---|
author | Bruce Cran <bruce@cran.org.uk> | Mon Feb 20 17:07:32 2012 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Feb 20 19:33:30 2012 +0100 |
tree | c494dd6ddb27d8e6e6341aac1523168746b7bae1 | |
parent | b9fd788f0e8adacc33316107594e9eb0463743d7 [diff] [blame] |
Add FIO_PREFERRED_CLOCK_SOURCE to allow selection of clock source on a per-platform basis. Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/gettime.c b/gettime.c index cf0d664..e8f5ab5 100644 --- a/gettime.c +++ b/gettime.c
@@ -24,7 +24,7 @@ int fio_gtod_cpu = -1; static pthread_t gtod_thread; -enum fio_cs fio_clock_source = CS_GTOD; +enum fio_cs fio_clock_source = FIO_PREFERRED_CLOCK_SOURCE; #ifdef FIO_DEBUG_TIME