Overload  1.1
Game engine with editor
Public Member Functions | Static Public Member Functions | List of all members
OvAnalytics::Profiling::Profiler Class Referencefinal

#include <Profiler.h>

Public Member Functions

 Profiler ()
 
ProfilerReport GenerateReport ()
 
void ClearHistory ()
 
void Update (float p_deltaTime)
 

Static Public Member Functions

static void Save (ProfilerSpy &p_spy)
 
static bool IsEnabled ()
 
static void ToggleEnable ()
 
static void Enable ()
 
static void Disable ()
 

Detailed Description

The profiler collect data about the running program

Constructor & Destructor Documentation

◆ Profiler()

OvAnalytics::Profiling::Profiler::Profiler ( )

Create the profiler

Member Function Documentation

◆ ClearHistory()

void OvAnalytics::Profiling::Profiler::ClearHistory ( )

Clear any collected data

◆ Disable()

void OvAnalytics::Profiling::Profiler::Disable ( )
static

Disable the profiler

◆ Enable()

void OvAnalytics::Profiling::Profiler::Enable ( )
static

Enable the profiler

◆ GenerateReport()

OvAnalytics::Profiling::ProfilerReport OvAnalytics::Profiling::Profiler::GenerateReport ( )

Generate a report containing data about the last profiling session

◆ IsEnabled()

bool OvAnalytics::Profiling::Profiler::IsEnabled ( )
static

Verify if the profiler is currently enabled

◆ Save()

void OvAnalytics::Profiling::Profiler::Save ( ProfilerSpy p_spy)
static

Save the given spy collected data to the profiler history

Parameters
p_spy(Spy to collect data from)

◆ ToggleEnable()

void OvAnalytics::Profiling::Profiler::ToggleEnable ( )
static

Enable the profiler if it is currently disabled, and vice-versa

◆ Update()

void OvAnalytics::Profiling::Profiler::Update ( float  p_deltaTime)

Update the profiler

Parameters
p_deltaTime

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