move counting profiler to tools.profiler.counting

db4
Joe Groff 2011-10-30 22:46:07 -07:00
parent e10c3183c8
commit eac90675c0
14 changed files with 17 additions and 17 deletions

View File

@ -14,7 +14,7 @@ IN: bootstrap.tools
"tools.disassembler"
"tools.dispatch"
"tools.memory"
"tools.counting-profiler"
"tools.profiler.counting"
"tools.test"
"tools.time"
"tools.threads"

View File

@ -175,7 +175,7 @@ SYMBOL: interactive-vocabs
"tools.dispatch"
"tools.errors"
"tools.memory"
"tools.counting-profiler"
"tools.profiler.counting"
"tools.test"
"tools.threads"
"tools.time"

View File

@ -14,7 +14,7 @@ compiler.units system.private combinators tools.memory.private
combinators.short-circuit locals locals.backend locals.types
combinators.private stack-checker.values generic.single
generic.single.private alien.libraries tools.dispatch.private
tools.counting-profiler.private macros
tools.profiler.counting.private macros
stack-checker.alien
stack-checker.state
stack-checker.errors

View File

@ -1,6 +1,6 @@
USING: tools.counting-profiler.private tools.time tools.crossref
USING: tools.profiler.counting.private tools.time tools.crossref
help.markup help.syntax quotations io strings words definitions ;
IN: tools.counting-profiler
IN: tools.profiler.counting
ARTICLE: "profiler-limitations" "Profiler limitations"
"Certain optimizations performed by the compiler can inhibit accurate call counting:"
@ -12,7 +12,7 @@ ARTICLE: "profiler-limitations" "Profiler limitations"
} ;
ARTICLE: "profiling" "Profiling code"
"The " { $vocab-link "tools.counting-profiler" } " vocabulary implements a simple 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:"
{ $subsections profile }

View File

@ -1,7 +1,7 @@
USING: accessors tools.counting-profiler tools.test kernel memory math
threads alien alien.c-types tools.counting-profiler.private sequences
USING: accessors tools.profiler.counting tools.test kernel memory math
threads alien alien.c-types tools.profiler.counting.private sequences
compiler.test compiler.units words arrays ;
IN: tools.counting-profiler.tests
IN: tools.profiler.counting.tests
[ t ] [
\ length counter>>

View File

@ -3,10 +3,10 @@
USING: accessors words sequences math prettyprint kernel arrays
io io.styles namespaces assocs kernel.private strings
combinators sorting math.parser vocabs definitions
tools.counting-profiler.private tools.crossref continuations generic
tools.profiler.counting.private tools.crossref continuations generic
compiler.units compiler.crossref sets classes fry ;
FROM: sets => members ;
IN: tools.counting-profiler
IN: tools.profiler.counting
: profile ( quot -- )
[ t profiling call ] [ f profiling ] [ ] cleanup ; inline

View File

@ -1,5 +1,5 @@
USING: help.tips help.markup help.syntax ui.operations
tools.walker tools.time tools.counting-profiler ui.tools.operations ;
tools.walker tools.time tools.profiler.counting ui.tools.operations ;
TIP: "Press " { $operation com-stack-effect } " to print the stack effect of the code in the input field without executing it (" { $link "inference" } ")." ;

View File

@ -3,7 +3,7 @@
USING: continuations definitions generic help.topics threads
stack-checker summary io.pathnames io.styles kernel namespaces
parser prettyprint quotations tools.crossref tools.annotations
editors tools.counting-profiler tools.test tools.time tools.walker vocabs
editors tools.profiler.counting tools.test tools.time tools.walker vocabs
vocabs.loader words sequences classes compiler.errors
compiler.units accessors vocabs.parser macros.expander ui
ui.tools.browser ui.tools.listener ui.tools.listener.completion

View File

@ -3,7 +3,7 @@
USING: accessors arrays assocs combinators.short-circuit
combinators.smart definitions.icons fry kernel locals
math.order models models.search models.sort present see
sequences tools.counting-profiler ui.baseline-alignment ui.commands
sequences tools.profiler.counting ui.baseline-alignment ui.commands
ui.gadgets ui.gadgets.borders ui.gadgets.buttons
ui.gadgets.labeled ui.gadgets.labels ui.gadgets.packs
ui.gadgets.search-tables ui.gadgets.status-bar

View File

@ -1,5 +1,5 @@
USING: editors help.markup help.syntax summary inspector io io.styles
listener parser prettyprint tools.counting-profiler tools.walker ui.commands
listener parser prettyprint tools.profiler.counting tools.walker ui.commands
ui.gadgets.panes ui.gadgets.presentations ui.operations
ui.tools.operations ui.tools.profiler ui.tools.common vocabs see
help.tips ;

View File

@ -104,7 +104,7 @@ call( -- )
"threads.private"
"tools.dispatch.private"
"tools.memory.private"
"tools.counting-profiler.private"
"tools.profiler.counting.private"
"words"
"words.private"
"vectors"
@ -547,7 +547,7 @@ tuple
{ "retainstack-for" "threads.private" "primitive_retainstack_for" ( context -- array ) }
{ "dispatch-stats" "tools.dispatch.private" "primitive_dispatch_stats" ( -- stats ) }
{ "reset-dispatch-stats" "tools.dispatch.private" "primitive_reset_dispatch_stats" ( -- ) }
{ "profiling" "tools.counting-profiler.private" "primitive_counting_profiler" ( ? -- ) }
{ "profiling" "tools.profiler.counting.private" "primitive_counting_profiler" ( ? -- ) }
{ "optimized?" "words" "primitive_optimized_p" ( word -- ? ) }
{ "word-code" "words" "primitive_word_code" ( word -- start end ) }
{ "(word)" "words.private" "primitive_word" ( name vocab hashcode -- word ) }