syne_tune.backend.simulator_backend.time_keeper module
- class syne_tune.backend.simulator_backend.time_keeper.SimulatedTimeKeeper[source]
Bases:
TimeKeeper
Here, time is simulated. It needs to be advanced explicitly.
In addition,
mark_exit()
andreal_time_since_last_recent_exit()
are used to measure real time spent outside the backend (i.e., in the tuner loop and scheduler). Namely, every method ofSimulatorBackend
callsmark_exit()
before leaving, andreal_time_since_last_recent_exit()
at the start, advancing the time counter accordingly.- property start_time_stamp: datetime
- Returns:
Time stamp (datetime) of (last recent) call of
start_of_time