fix ms output

This commit is contained in:
Dane Springmeyer 2011-09-10 18:22:57 +00:00
parent 3ad234bce8
commit 962b2afb85

View file

@ -23,8 +23,8 @@ def test():
TOTAL_TIME += (time.time() - start)
def f_(set):
min_ = str(min(set*1000))[:6]
avg = str(sum(set*1000)/len(set))[:6]
min_ = str(min(set)*1000)[:6]
avg = str((sum(set)/len(set))*1000)[:6]
print 'min: %sms | avg: %sms | total: %ss' % (min_,avg,str(TOTAL_TIME)[:6])
if __name__=='__main__':