|
MochiEngine
|
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 |
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.