Warn that time info is approximate

- We can't give exact times, in particular, the start time
    is measured only after Python finishes starting up.
    So, warn about that.
This commit is contained in:
David A. Wheeler 2014-07-12 12:11:26 -04:00
parent e95f94db75
commit 40982f89ba
1 changed files with 1 additions and 1 deletions

View File

@ -1793,7 +1793,7 @@ def show_final_results():
time_analyzing = time.time() - starttime
print "Lines analyzed = %d" % sumlines,
if time_analyzing > 0 and not omit_time: # Avoid divide-by-zero.
print "in %.2f seconds (%.0f lines/second)" % (
print "in approximately %.2f seconds (%.0f lines/second)" % (
time_analyzing,
(sumlines * 1.0 / time_analyzing) )
else: