class time_m::FileTimeLogger — HIRO 0.7.0 documentation

# class time_m::FileTimeLogger

Measures duration of program parts and logs times into a file.

    #include <Time.h>

    class FileTimeLogger: public time_m::TimeLogger {
    public:
        // methods

        void SessionStart(const std::string& export_file_name = "timing_log.local.txt");
        void SessionEnd();
        bool IsSession() const;
        virtual void MeasureStart(const std::string& measurement_name);
        void MeasureEnd();
    };

## Inherited Members

    public:
        // structs

        struct Measurement;

        // methods

        virtual void MeasureStart(const std::string& measurement_name);
        virtual void MeasureEnd(std::ostream* output_log);
        TimeLogger& operator=(const TimeLogger&);