GitHub

FiberTime

API reference for FiberTime.

Time spent in the turns of a fiber, or of every fiber in a span.

Attributes

AttributeTypeDescription
cpu_nsint

CPU time of the turns' threads, in nanoseconds.

wall_nsint

Wall-clock time, in nanoseconds.

turnsint

How many turns: runs of the fiber until it waited or yielded.

Functions

__init__

__init__(cpu_ns, wall_ns, turns) -> None
ParameterTypeDescription
cpu_nsint
wall_nsint
turnsint