• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • OctoMY
  • ScopedTimer
  • ScopedTimer Class

    RAII timer for measuring code block duration. More...

    Header: #include <ScopedTimer>
    Since: 1.0

    Detailed Description

    ScopedTimer measures elapsed time from construction to destruction. Optionally logs timing, warns on timeout, and formats output in human-readable form. The formatting comes from utility::string::humanReadableElapsedSeconds().

    See also utility::time.