History

update task.time update task.time

Paul Brossier committed 20 years ago

Commit e54a8ea1 parent 4dd235f1 file · +3 −2Browse files

Showing the changes to python (1 of 1 file). Show all

Unified · Split

python/aubio/task/task.py+3−2
@@ -49,6 +49,7 @@ class task(taskparams): · 48 unmodified lines
4949
5050 def time(self):
5151 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
5455

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t