gettime: slightly improve CPU clock calibration
authorJens Axboe <axboe@kernel.dk>
Thu, 27 Sep 2018 23:38:21 +0000 (17:38 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 27 Sep 2018 23:38:21 +0000 (17:38 -0600)
commit152529ae26d1167779138b6cd30d4de10623da1b
treed2fe918882a324a2d99dc1f56a25d2839a265ddd
parentb2ef2748a7c882fbac814f10d0f36630ac16ff89
gettime: slightly improve CPU clock calibration

We should not factor the utime_since() runtime into this, so
do the get_cpu_clock() before. In reality this probably won't
make any difference, as we're doing this tight loop for more
than a milisecond.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
gettime.c