Class Profiler

Nested Relationships

Nested Types

Class Documentation

class Profiler

Public Functions

inline Profiler(bool = true, bool = true)
~Profiler() = default
inline void start()
inline void stop()
inline void clear()
inline void event(const std::string&, const unsigned int = 1)
inline void average(const std::string&, const double)
inline void begin(const std::string&)
inline void end(const std::string&)
inline void status(std::ostream& = std::cout, bool = true)
inline void console()
inline bool running() const

Public Static Functions

static Profiler &Instance()
static inline void Start()
static inline void Stop()
static inline void Clear()
static inline void Event(const std::string&, const unsigned int = 1)
static inline void Average(const std::string&, const double)
static inline void Begin(const std::string&)
static inline void End(const std::string&)
static inline void Status(std::ostream& = std::cout, bool = true)
static inline void Console()
static inline bool Running()
class ScopedBlock

Public Functions

inline ScopedBlock(const std::string&, Profiler& = Profiler::Instance())
~ScopedBlock() = default
class ScopedStart

Public Functions

inline ScopedStart(Profiler& = Profiler::Instance())
~ScopedStart() = default