5 #include <boost/timer.hpp> 19 virtual void print(std::ostream& Os) { Os <<
"LogTiming";}
20 virtual void write_to_log(
const std::string& Prefix =
"")
const;
24 boost::timer wall_clock;
27 std::string cpu_model;
29 static const double cpu_reference_speed;
virtual void notify_update(const ConnorSolver &Solver)
Called when the Observed object is updated.
virtual void print(std::ostream &Os)
This is a helper class that logs basic timing information to the Logger.
This is a Mixin for classes that can be printed.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
virtual void write_to_log(const std::string &Prefix="") const
Write data to disk.
Simple Mixin to be and Observer of another object of class T.