Mercurial > hg > octave-max
changeset 12870:39d813616c8f
Restore the docstrings for internal profiler functions as C++ comments
author | Jordi Gutiérrez Hermoso <jordigh@gmail.com> |
---|---|
date | Fri, 22 Jul 2011 00:57:38 -0500 |
parents | de9a9719e594 |
children | 23377c46516b |
files | src/profiler.cc |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/profiler.cc +++ b/src/profiler.cc @@ -240,6 +240,7 @@ profile_data_accumulator profiler; +// Enable or disable the profiler data collection. DEFUN (__profiler_enable, args, , "-*- texinfo -*-\n\ @deftypefn {Function File} __profiler_enable ()\n\ @@ -265,6 +266,7 @@ return retval; } +// Clear all collected profiling data. DEFUN (__profiler_reset, args, , "-*- texinfo -*-\n\ @deftypefn {Function File} __profiler_reset ()\n\ @@ -282,6 +284,7 @@ return retval; } +// Query the timings collected by the profiler. DEFUN (__profiler_data, args, , "-*- texinfo -*-\n\ @deftypefn {Function File} __profiler_data ()\n\