]> git.ipfire.org Git - thirdparty/util-linux.git/commit
script: use gettime_monotonic() to get timing file timestamps
authorSami Kerola <kerolasa@iki.fi>
Tue, 30 Dec 2014 23:03:32 +0000 (23:03 +0000)
committerSami Kerola <kerolasa@iki.fi>
Mon, 8 Jun 2015 20:53:36 +0000 (21:53 +0100)
commit04639805e12e343c007746e23cb42c1fa7efbb2a
tree6cf4723a2f12c01dd44a96e3ae179dd6d57766d5
parentb09feab9e47d214f269230c605b07cb57af3384c
script: use gettime_monotonic() to get timing file timestamps

This moves the previous time to script control structure, and does
timeval calculation with timersub() that is more appropriate than
making a timeval to a double.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
term-utils/Makemodule.am
term-utils/script.c