Back to the main page.
Bug 207 - use tic and toc with an explicit timer name in sourceanalysis
Status | CLOSED FIXED |
Reported | 2010-11-10 10:07:00 +0100 |
Modified | 2011-02-23 13:51:02 +0100 |
Product: | FieldTrip |
Component: | core |
Version: | unspecified |
Hardware: | PC |
Operating System: | Mac OS |
Importance: | P1 normal |
Assigned to: | Cristiano Micheli |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Robert Oostenveld - 2010-11-10 10:07:48 +0100
sourceanalysis does tic at the beginning and at the end it does fprintf('total time in sourceanalysis %.1f seconds\n', toc); If the user also uses tit/toc in his script, then this will mess it up. Therefore all fieldtrip usage of tic/toc should read stopwatch = tic; fprintf('total time in sourceanalysis %.1f seconds\n', toc(stopwatch)); i.e. use an explicit name of the tic/toc timer. TODO this has to be fixed in sourceanalysis, probably also in componentanalysis TODO check all fieldtrip functions for the use of tic/toc (with grep) and fix it everywhere
Robert Oostenveld - 2011-01-16 22:50:47 +0100
changed the status for all ASSIGNED bugs to joint development user (fieldtrip-bugs) to status NEW, otherwise we don't see the in the Wednesday meetings.