16 #ifndef QMCPLUSPLUS_RUNTIME_MANAGER_H 17 #define QMCPLUSPLUS_RUNTIME_MANAGER_H 25 template<
class CLOCK = ChronoClock>
50 template<
class CLOCK = ChronoClock>
57 double get_time_per_iteration()
const;
69 template<
class CLOCK = ChronoClock>
91 bool stop_file_requested();
108 std::string generateProgressMessage(
const std::string& driverName,
int block,
int num_blocks)
const;
110 std::string generateStopMessage(
const std::string& driverName,
int block)
const;
117 extern template class RunTimeControl<ChronoClock>;
118 extern template class RunTimeControl<FakeChronoClock>;
bool isStopNeeded() const
CLOCK::time_point start_time
void runtime_padding(int runtime_padding)
helper functions for EinsplineSetBuilder
RunTimeManager< ChronoClock > run_time_manager
const CLOCK::time_point start_time
const std::string stop_filename_
the prefix of the stop file (stop_file_prefix + ".STOP")
RunTimeManager< CLOCK > & runtimeManager
double m_runtime_safety_padding
void loop_margin(int loopMargin)