Class SimpleProfiler::ScopedTimer

Nested Relationships

This class is a nested type of Class SimpleProfiler.

Class Documentation

class ScopedTimer

A RAII timer that starts on construction and stops on destruction.

Intended for automatic profiling of scoped code blocks.

Public Functions

inline ScopedTimer(const std::string &name)
inline ~ScopedTimer()