Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -49,6 +49,7 @@ class task(taskparams): · 48 unmodified lines | ||
| 49 | 49 | |
| 50 | 50 | def time(self): |
| 51 | 51 | import time |
| 52 | − print "CPU time is now %f seconds," % time.clock(), | |
| 53 | − print "task execution took %f seconds" % (time.time() - self.tic) | |
| 52 | + #print "CPU time is now %f seconds," % time.clock(), | |
| 53 | + #print "task execution took %f seconds" % (time.time() - self.tic) | |
| 54 | + return time.time() - self.tic | |
| 54 | 55 | |