# HG changeset patch # User Jordi GutiƩrrez Hermoso # Date 1311314258 18000 # Node ID 39d813616c8faf703c4d1fea25379ad566b25123 # Parent de9a9719e594fc7da21dc2f7fe8dcdb6508e68ca Restore the docstrings for internal profiler functions as C++ comments diff --git a/src/profiler.cc b/src/profiler.cc --- 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\