commit | 6c33e189d1b4ecfef65dbeec755e867616b754fc | [log] [tgz] |
---|---|---|
author | Daniel Kurtz <djkurtz@chromium.org> | Fri Oct 14 11:46:51 2011 |
committer | Daniel Kurtz <djkurtz@chromium.org> | Wed Oct 19 09:19:31 2011 |
tree | ccb4d0b54e70d80c383774f58e82db5ecee3d649 | |
parent | 30706954c98a288f71999db6790378c000dd6fc7 [diff] |
Cleanup elapsed time calculation Note: this also fixes a bug where the fractional second was incorectly displayed. Since the usec wasn't zero-padded, it was being left shifted: For example, the value "6.000005" was being printed as "6.5". BUG=chromium-os:21568 TEST=Inspect timer output. It should always have 6 decimal places, even if usec < 100000. Change-Id: Ia41a11428aedde45419d99821a411144156e273a