Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
foreign-time* ( profile-data -- n )
Vocabulary
tools.profiler.sampling
Inputs and outputs
profile-data
raw profile data
n
a
duration
Word description
Returns the total time spent in non-Factor code (such as the Factor VM, or FFI calls) from the given
profile-data
.
Definition
USING:
sequences
;
IN:
tools.profiler.sampling
:
foreign-time*
( profile-data -- n )
[
foreign-sample-count
]
map-sum
samples>time
;