changeset 32397:9281146e836b

doc: Ensure that "profile" in VM contexts refers to "vm_profile"
author Arun Giridhar <arungiridhar@gmail.com>
date Sun, 08 Oct 2023 15:41:25 -0400
parents fc3f9660d5f2
children 4ae95cbbd1ab
files libinterp/corefcn/compile.cc
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/compile.cc	Sun Oct 08 15:17:47 2023 -0400
+++ b/libinterp/corefcn/compile.cc	Sun Oct 08 15:41:25 2023 -0400
@@ -165,25 +165,25 @@
 Profile code running in the VM.
 
 @table @code
-@item profile on
+@item vm_profile on
 Start the profiler, clearing all previously collected data if there is any.
 
-@item profile off
+@item vm_profile off
 Stop profiling.  The collected data can later be retrieved and examined
 with @code{T = profile ("info")}.
 
-@item profile clear
+@item vm_profile clear
 Clear all collected profiler data.
 
-@item profile resume
+@item vm_profile resume
 Restart profiling without clearing the old data.  All newly collected
 statistics are added to the existing ones.
 
-@item profile
+@item vm_profile
 Toggles between profiling and printing the result of the profiler.
 Clears the profiler on each print.
 
-@item info
+@item vm_profile info
 Prints the profiler data.
 
 Not that output to a variable is not implemented yet.