diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-08-05 12:24:01 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-08-05 12:24:01 +0200 |
commit | a692e4e3de60e1a10906511fb8ef2d14937d4a19 (patch) | |
tree | ff95d6a7a1320bbed392d115fc894bbf5a7db052 /scripts/checkpatch.pl | |
parent | d3ddf6631e491a831617a5ae8b3d7924e47a275a (diff) | |
download | upstream-a692e4e3de60e1a10906511fb8ef2d14937d4a19.tar.gz upstream-a692e4e3de60e1a10906511fb8ef2d14937d4a19.tar.bz2 upstream-a692e4e3de60e1a10906511fb8ef2d14937d4a19.zip |
scripts: time.pl: avoid hard Time::HiRes dependency
Use Time::HiRes when available and fallback to raw syscall interface
when not. If that fails too, simply report 0, 0 as real time.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions