.. _program_listing_file_include_tuw_timing.hpp: Program Listing for File timing.hpp =================================== |exhale_lsh| :ref:`Return to documentation for file ` (``include/tuw/timing.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #ifndef TUW__TIMING_HPP #define TUW__TIMING_HPP #include #include #include namespace tuw { using TimePoint = std::chrono::time_point; using NamedTimePoint = std::pair; class Timing { public: Timing(); void start(); void add(const std::string & name); std::string plot(); std::string info(); private: std::vector measurments_; }; } // namespace tuw #endif // TUW__TIMING_HPP