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
| Type | Description |
|---|---|
float64 | The observed duration of the timer. |