samples>time ( samples -- seconds )


Vocabulary
tools.profiler.sampling

Inputs and outputs
samplesan integer
secondsan integer


Word description
Converts a sample interval count to an integer based on the value of samples-per-second.

Definition
USING: math namespaces ;

IN: tools.profiler.sampling

: samples>time ( samples -- seconds )
samples-per-second get-global / ;