Symphony Of Empires
Eng3D::Profiler Struct Reference

#include <profiler.hpp>

Public Member Functions

 Profiler ()
 
 ~Profiler ()=default
 
void start (const std::string &name)
 
void stop (const std::string &name)
 
void tick_done ()
 
void render_done ()
 
float get_fps ()
 
const std::vector< BenchmarkTask * > get_tasks ()
 

Detailed Description

Definition at line 62 of file profiler.hpp.

Constructor & Destructor Documentation

◆ Profiler()

Eng3D::Profiler::Profiler ( )
inline

Definition at line 63 of file profiler.hpp.

◆ ~Profiler()

Eng3D::Profiler::~Profiler ( )
default

Member Function Documentation

◆ get_fps()

float Eng3D::Profiler::get_fps ( )

Definition at line 108 of file profiler.cpp.

Here is the caller graph for this function:

◆ get_tasks()

const std::vector< Eng3D::BenchmarkTask * > Eng3D::Profiler::get_tasks ( )

Definition at line 128 of file profiler.cpp.

Here is the caller graph for this function:

◆ render_done()

void Eng3D::Profiler::render_done ( )

Definition at line 112 of file profiler.cpp.

Here is the caller graph for this function:

◆ start()

void Eng3D::Profiler::start ( const std::string &  name)

Definition at line 84 of file profiler.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ stop()

void Eng3D::Profiler::stop ( const std::string &  name)

Definition at line 95 of file profiler.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tick_done()

void Eng3D::Profiler::tick_done ( )

Definition at line 104 of file profiler.cpp.


The documentation for this struct was generated from the following files: