MochiEngine
Loading...
Searching...
No Matches
Mochi::Debug::FrameProfiler Class Reference

A very simple profiler that captures the time spent between two lines of code and structures those times in sections. More...

#include <Profiler.hpp>

Public Member Functions

void BeginSection (const std::string &name)
void EndSection (const std::string &name)
void NewFrame ()
std::string Report () const

Detailed Description

A very simple profiler that captures the time spent between two lines of code and structures those times in sections.

Call BeginSection and EndSection to provide a range of code to check.


The documentation for this class was generated from the following file: