It wasn't working with time.clock(), I think because no CPU is consumed anymore.  I think it should use wall clock time, which is what time.time() gives.  Try calling time.clock() twice in a row in the python shell and then try time.time() twice in a row.  time.clock() gives identical results on my system even several seconds apart.