Chrono

class Chrono(self)

Bases: pybind11_object

Methods

__init__

getDurationMicros

Get chrono duration in microsecond.

getDurationMs

Get chrono duration in millisecond.

getDurationSeconds

Get chrono duration in second.

start

Start the chrono.

stop

Stop the chrono.

Inherited Methods

Operators

__doc__

__init__

__module__

Attributes

__annotations__

__init__(self)
getDurationMicros(self) float

Get chrono duration in microsecond.

getDurationMs(self) float

Get chrono duration in millisecond.

getDurationSeconds(self) float

Get chrono duration in second.

start(self, reset: bool = true) None

Start the chrono.

Parameters:
reset: bool = true

If true, reset the current chrono duration.

stop(self) None

Stop the chrono.