Changeset e54a8ea for python/aubio/task


Ignore:
Timestamp:
Mar 16, 2006, 4:58:01 PM (19 years ago)
Author:
Paul Brossier <piem@altern.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
ac4f38e
Parents:
4dd235f
Message:

update task.time
update task.time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/aubio/task/task.py

    r4dd235f re54a8ea  
    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
Note: See TracChangeset for help on using the changeset viewer.