diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-08-05 12:24:01 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-12-18 11:01:55 +0100 |
commit | 2890abbcc0329460ebc7384e994272d1ee3b372d (patch) | |
tree | dddf7131e8c01872743c8325b7dc533df7606e3d /target/imagebuilder | |
parent | b4454ca4fae13f85e06d01df8a2a94ddd78d3368 (diff) | |
download | upstream-2890abbcc0329460ebc7384e994272d1ee3b372d.tar.gz upstream-2890abbcc0329460ebc7384e994272d1ee3b372d.tar.bz2 upstream-2890abbcc0329460ebc7384e994272d1ee3b372d.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>
(backported from a692e4e3de60e1a10906511fb8ef2d14937d4a19)
Diffstat (limited to 'target/imagebuilder')
0 files changed, 0 insertions, 0 deletions