From 6d3d8392d1a1b2c591851206a6b55df7fffb4ed3 Mon Sep 17 00:00:00 2001 From: Joe Groff Date: Mon, 31 Oct 2011 20:00:51 -0700 Subject: [PATCH] tools.profiler.counting: rename help article --- basis/tools/annotations/annotations-docs.factor | 4 ++-- basis/tools/profiler/counting/counting-docs.factor | 4 ++-- basis/tools/time/time-docs.factor | 2 +- basis/ui/tools/profiler/profiler-docs.factor | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/basis/tools/annotations/annotations-docs.factor b/basis/tools/annotations/annotations-docs.factor index fc046c6ae2..5a315f3530 100644 --- a/basis/tools/annotations/annotations-docs.factor +++ b/basis/tools/annotations/annotations-docs.factor @@ -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." } ; diff --git a/basis/tools/profiler/counting/counting-docs.factor b/basis/tools/profiler/counting/counting-docs.factor index 19d3bbea75..8302492b67 100644 --- a/basis/tools/profiler/counting/counting-docs.factor +++ b/basis/tools/profiler/counting/counting-docs.factor @@ -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" } } diff --git a/basis/tools/time/time-docs.factor b/basis/tools/time/time-docs.factor index ff9b5be0ef..e865885116 100644 --- a/basis/tools/time/time-docs.factor +++ b/basis/tools/time/time-docs.factor @@ -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" diff --git a/basis/ui/tools/profiler/profiler-docs.factor b/basis/ui/tools/profiler/profiler-docs.factor index fad2b3614f..3ca4b1957c 100644 --- a/basis/ui/tools/profiler/profiler-docs.factor +++ b/basis/ui/tools/profiler/profiler-docs.factor @@ -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"