shithub: aubio

Download patch

ref: e54a8ea876c732416664bc5101cd583378eedd1d
parent: 4dd235fea122306e19988ca283d205fcb2e2fcea
author: Paul Brossier <[email protected]>
date: Thu Mar 16 10:58:01 EST 2006

update task.time
update task.time


--- a/python/aubio/task/task.py
+++ b/python/aubio/task/task.py
@@ -49,6 +49,7 @@
 
 	def time(self):
 		import time
-		print "CPU time is now %f seconds," % time.clock(),
-		print "task execution took %f seconds" % (time.time() - self.tic)
+		#print "CPU time is now %f seconds," % time.clock(),
+		#print "task execution took %f seconds" % (time.time() - self.tic)
+		return time.time() - self.tic