aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/time.pl
Commit message (Collapse)AuthorAgeFilesLines
* scripts: time.pl: avoid hard Time::HiRes dependencyJo-Philipp Wich2018-12-181-4/+27
| | | | | | | | 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)
* build: remove GNU time dependencyJo-Philipp Wich2018-12-181-0/+42
Replace the GNU time program invocation with a simple Perl script reporting the timing values. Since we require Perl anyway for the build system, we can as well use that instead of requiring a random GNU utility rarely installed by default. Fixes: ff6e62b288 ("build: log time taken by each packages/steps") Signed-off-by: Jo-Philipp Wich <jo@mein.io> (backported from d3ddf6631e491a831617a5ae8b3d7924e47a275a)