foreign-thread-time* ( profile-data -- n )


Vocabulary
tools.profiler.sampling

Inputs and outputs
profile-dataraw profile data
na duration


Word description
Returns the total time spent executing non-Factor threads within the Factor process from the given profile-data.

Definition
USING: sequences ;

IN: tools.profiler.sampling

: foreign-thread-time* ( profile-data -- n )
[ foreign-thread-sample-count ] map-sum samples>time ;