Skip to main content

Timer

This interface defines a common contract for timer implementations. It provides a single method, Stop(), which stops the timer and returns the observed duration as a float64.

Methods


Stop()

@classmethod
def Stop() - > float64

Stops the timer and reports observation.

Returns

TypeDescription
float64The observed duration of the timer.