Mercurial > hg > octave-nkf
changeset 3102:04119d7a7d84
[project @ 1997-11-18 08:27:08 by jwe]
author | jwe |
---|---|
date | Tue, 18 Nov 1997 08:27:08 +0000 |
parents | f9806795b6d5 |
children | 98d862e12945 |
files | scripts/miscellaneous/tic.m scripts/miscellaneous/toc.m |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/miscellaneous/tic.m +++ b/scripts/miscellaneous/tic.m @@ -31,8 +31,8 @@ warning ("tic: ignoring extra arguments"); endif - global _time_tic_called; + global __tic_toc_timestamp__; - _time_tic_called = clock (); + __tic_toc_timestamp__ = clock (); endfunction
--- a/scripts/miscellaneous/toc.m +++ b/scripts/miscellaneous/toc.m @@ -32,10 +32,10 @@ warning ("toc: ignoring extra arguments"); endif - global _time_tic_called; + global __tic_toc_timestamp__; - if (exist ("_time_tic_called")) - secs = etime (clock (), _time_tic_called); + if (exist ("__tic_toc_timestamp__")) + secs = etime (clock (), __tic_toc_timestamp__); else warning ("toc called before timer set"); secs = [];