holoscan::ClockInterface
holoscan::ClockInterface
Pure interface defining clock functionality.
This interface defines the core clock operations that all clock implementations must provide.
Constructors
Destructor
~ClockInterface
Methods
time
The current time of the clock. Time is measured in seconds.
timestamp
The current timestamp of the clock. Timestamps are measured in nanoseconds.
sleep_for
Overload 1
Set a duration to sleep
virtual
Waits until the given duration has elapsed on the clock.
sleep_until
Waits until the given target time.