t/io_uring: store TSC rate in local file
authorJens Axboe <axboe@kernel.dk>
Thu, 30 Sep 2021 02:15:45 +0000 (20:15 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 30 Sep 2021 02:16:54 +0000 (20:16 -0600)
commit203e4c2624493c0db8c69c9ad830090c5b79be67
treef7599ce643f6b5971e4847ca606bc25937c759e7
parentc9af088bc9f52b58c8ee68d96403b48c8da9964b
t/io_uring: store TSC rate in local file

Doesn't change on a single machine, so let's just cache the value instead
of requiring it to be specified every time. If we specify the rate, the
local data is updated. If we don't specify it, we check the file, and use
the rate in there if it exists.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
.gitignore
t/io_uring.c