]> gitweb.factorcode.org Git - factor.git/commitdiff
tools.profiler.counting: rename help article
authorJoe Groff <arcata@gmail.com>
Tue, 1 Nov 2011 03:00:51 +0000 (20:00 -0700)
committerJoe Groff <arcata@gmail.com>
Wed, 2 Nov 2011 20:23:14 +0000 (13:23 -0700)
basis/tools/annotations/annotations-docs.factor
basis/tools/profiler/counting/counting-docs.factor
basis/tools/time/time-docs.factor
basis/ui/tools/profiler/profiler-docs.factor

index fc046c6ae217d826c95ec2d67681e062b17dc4d2..5a315f35300c08e13544242637ff83b3cb25f750 100644 (file)
@@ -49,7 +49,7 @@ HELP: watch-vars
 HELP: add-timing
 { $values { "word" word } }
 { $description "Adds timing code to a word, which records its total running time, including that of words it calls, on every invocation." }
-{ $see-also "timing" "profiling" } ;
+{ $see-also "timing" "tools.profiler.counting" } ;
 
 HELP: reset-word-timing
 { $description "Resets the word timing table." } ;
@@ -58,4 +58,4 @@ HELP: word-timing.
 { $description "Prints the word timing table." } ;
 
 HELP: cannot-annotate-twice
-{ $error-description "Thrown when attempting to annotate a word that's already been annotated. If a word already has an annotation such as a watch or a breakpoint, you must first " { $link reset } " the word before adding another annotation." } ;
\ No newline at end of file
+{ $error-description "Thrown when attempting to annotate a word that's already been annotated. If a word already has an annotation such as a watch or a breakpoint, you must first " { $link reset } " the word before adding another annotation." } ;
index 19d3bbea75af2fa2b3a529f56475358a1910a592..8302492b678a571e8a060b593ae82064af32e4ef 100644 (file)
@@ -11,7 +11,7 @@ ARTICLE: "profiler-limitations" "Profiler limitations"
     "Tail-recursive loops will only count the initial invocation of the word, not every tail call."
 } ;
 
-ARTICLE: "profiling" "Profiling code
+ARTICLE: "tools.profiler.counting" "Call-counting profiler
 "The " { $vocab-link "tools.profiler.counting" } " vocabulary implements a simple call counting profiler."
 $nl
 "Quotations can be passed to a combinator which calls them with the profiler enabled:"
@@ -27,7 +27,7 @@ $nl
 }
 { $see-also "ui.tools.profiler" "tools.annotations" "timing" } ;
 
-ABOUT: "profiling"
+ABOUT: "tools.profiler.counting"
 
 HELP: counters
 { $values { "words" "a sequence of words" } { "alist" "an association list mapping words to integers" } }
index ff9b5be0ef0d74dcf33fafa0359393bc4b60d0e8..e8658851163cd6886c61eb75b4fbe2d8807c4da0 100644 (file)
@@ -10,7 +10,7 @@ ARTICLE: "timing" "Timing code and collecting statistics"
 "A lower-level word puts timings on the stack, instead of printing:"
 { $subsections benchmark }
 "You can also read the system clock directly; see " { $link "system" } "."
-{ $see-also "profiling" "tools.annotations" "calendar" } ;
+{ $see-also "tools.profiler.counting" "tools.annotations" "calendar" } ;
 
 ABOUT: "timing"
 
index fad2b3614f9d423e67472b2c79e315cf4b779861..3ca4b1957cb514c11918eca7d82e585ed20f339e 100644 (file)
@@ -2,14 +2,14 @@ IN: ui.tools.profiler
 USING: help.markup help.syntax ui.operations ui.commands help.tips ;
 
 ARTICLE: "ui.tools.profiler" "UI profiler tool" 
-"The " { $vocab-link "ui.tools.profiler" } " vocabulary implements a graphical tool for viewing profiling results (see " { $link "profiling" } ")."
+"The " { $vocab-link "ui.tools.profiler" } " vocabulary implements a graphical tool for viewing profiling results (see " { $link "tools.profiler.counting" } ")."
 $nl
 "To use the profiler, enter a piece of code in the listener input area and press " { $operation com-profile } "."
 $nl
 "Clicking on a vocabulary in the vocabulary list narrows down the word list to only include words from that vocabulary. The sorting options control the order of elements in the vocabulary and word lists. The search fields narrow down the list to only include words or vocabularies whose names contain a substring."
 $nl
-"Consult " { $link "profiling" } " for details about the profiler itself." ;
+"Consult " { $link "tools.profiler.counting" } " for details about the profiler itself." ;
 
 TIP: "Press " { $operation com-profile } " to run the code in the input field with profiling enabled (" { $link "ui.tools.profiler" } ")." ;
 
-ABOUT: "ui.tools.profiler"
\ No newline at end of file
+ABOUT: "ui.tools.profiler"