I am testing the execution time of a python script. The script begins with
from time import clock
print clock()
and ends with
print clock()
My script executes much longer than the time difference I get with this method. I want to know why this happens? Is the processor time counted in a different way than I think?
Thanks for advice!