From e54a8ea876c732416664bc5101cd583378eedd1d Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Thu, 16 Mar 2006 15:58:01 +0000 Subject: [PATCH] update task.time update task.time --- python/aubio/task/task.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python/aubio/task/task.py b/python/aubio/task/task.py index d9cf29ab..18541594 100644 --- a/python/aubio/task/task.py +++ b/python/aubio/task/task.py @@ -49,6 +49,7 @@ class task(taskparams): 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 -- 2.26.2