#ifndef libslic3r_Timer_hpp_ #define libslic3r_Timer_hpp_ #include #include namespace Slic3r { /// /// Instance of this class is used for measure time consumtion /// of block code until instance is alive and write result to debug output /// class Timer { std::string m_name; std::chrono::steady_clock::time_point m_start; public: /// /// name describe timer /// /// Describe timer in consol log Timer(const std::string& name); /// /// name describe timer /// ~Timer(); }; } // namespace Slic3r #endif // libslic3r_Timer_hpp_