summaryrefslogtreecommitdiffstats
path: root/visual
diff options
context:
space:
mode:
authorNick Terrell <terrelln@fb.com>2017-10-17 19:42:27 (GMT)
committerNick Terrell <terrelln@fb.com>2017-10-17 20:55:35 (GMT)
commit74d8688bc8104d897f9c98fc747400e71fbe77bc (patch)
tree65746f0db5851cb86a956886faadfdc1abfd49c6 /visual
parentdccf8826f1d76efcbdc655e63cc04cdbd1123619 (diff)
downloadlz4-74d8688bc8104d897f9c98fc747400e71fbe77bc.zip
lz4-74d8688bc8104d897f9c98fc747400e71fbe77bc.tar.gz
lz4-74d8688bc8104d897f9c98fc747400e71fbe77bc.tar.bz2
[bench] Use higher resolution timer on POSIX
The timer used was only accurate up to 0.01 seconds. This timer is accurate up to 1 ns. It is a monotonic timer that measures the real time difference, not on CPU time. Copied the benchmark code from https://github.com/facebook/zstd/commit/6ab4d5e9041aba962a810ffee191f95897c6208e
Diffstat (limited to 'visual')
0 files changed, 0 insertions, 0 deletions