blob: 5dbc895385c682ba83845d04ee703be1a8ce41b1 [file] [log] [blame]
Barry Warsawa6aca461997-01-13 23:03:07 +00001from test_support import verbose
2import timing
3
4r = range(100000)
5if verbose:
6 print 'starting...'
7timing.start()
8for i in r:
9 pass
10timing.finish()
11if verbose:
12 print 'finished'
13
14secs = timing.seconds()
15milli = timing.milli()
16micro = timing.micro()
17
18if verbose:
19 print 'seconds:', secs
20 print 'milli :', milli
21 print 'micro :', micro