std.time.Timer.lap: only read system time once (#4533)

Calling Timer.lap queried the system time twice; once to compute the lap
time and once to reset the timer. This can lead to time discrepancies
between actual and computed durations when summing the result of
Timer.lap in a loop. This commit fixes that.

also fix Timer.read to not require a pointer
907c5589aeHeide Onas Auri committed on 2/23/2020, 11:25:52 PM· committed by GitHubparentcfe1fba
1 file changedLine totals unavailable