2 """Test if current interpreter do not have clock() and define it as need"""
10 print '\n' + " "*len("Testing...") + '\n',
12 need_clock = time.clock() <> 3
14 outfile = open("clock.py", 'w')
17 print "Generaing clock.py with custom clock()"
18 outfile.write("""\"\"\"
19 Define clock() for systems that do not have it
26 return int(time() - _clock)
29 print "Generaing clock.py with standard clock()"
30 outfile.write("""\"\"\"
34 from time import clock