syne_tune.backend.simulator_backend.time_keeper module
- class syne_tune.backend.simulator_backend.time_keeper.SimulatedTimeKeeper[source]
Bases:
TimeKeeperHere, 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 ofSimulatorBackendcallsmark_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