add sampling profiler primitives for bootstrap

db4
Joe Groff 2011-10-30 23:05:54 -07:00
parent c0b26a2781
commit 5b6fb25ffd
1 changed files with 4 additions and 0 deletions

View File

@ -105,6 +105,7 @@ call( -- )
"tools.dispatch.private"
"tools.memory.private"
"tools.profiler.counting.private"
"tools.profiler.sampling.private"
"words"
"words.private"
"vectors"
@ -551,6 +552,9 @@ tuple
{ "optimized?" "words" "primitive_optimized_p" ( word -- ? ) }
{ "word-code" "words" "primitive_word_code" ( word -- start end ) }
{ "(word)" "words.private" "primitive_word" ( name vocab hashcode -- word ) }
{ "profiling" "tools.profiler.sampling.private" "primitive_sampling_profiler" ( ? -- ) }
{ "(get-samples)" "tools.profiler.sampling.private" "primitive_get_samples" ( -- samples/f ) }
{ "(clear-samples)" "tools.profiler.sampling.private" "primitive_clear_samples" ( -- samples/f ) }
} [ first4 make-primitive ] each
! Bump build number