gc-time ( -- n )
Factor documentation > Factor handbook > Developer tools > Sampling profiler
Prev:total-time ( -- n )
Next:foreign-time ( -- n )


Vocabulary
tools.profiler.sampling

Inputs and outputs
na duration


Word description
Returns the total time spent in the garbage collector during the last profile.

See also
total-time, foreign-time, foreign-thread-time

Definition
IN: tools.profiler.sampling

: gc-time ( -- n ) most-recent-profile-data gc-time* ;