Handbook
Glossary
foreign-sample-count ( sample -- count )
Vocabulary
tools
.
profiler
.
sampling
Inputs
sample
a raw profile sample
Outputs
count
an
integer
Word description
Returns the number of sample intervals spent in non-Factor code (such as the Factor VM, or FFI calls) during
sample
.
See also
total-sample-count
,
gc-sample-count
,
jit-sample-count
,
foreign-thread-sample-count
,
sample-thread
,
sample-callstack
Definition
USING:
kernel
sequences
;
IN:
tools.profiler.sampling
:
foreign-sample-count
( sample -- count )
3
swap
nth
;