Overload  1.1
Game engine with editor
Public Member Functions | Public Attributes | List of all members
OvAnalytics::Profiling::ProfilerSpy Struct Referencefinal

#include <ProfilerSpy.h>

Public Member Functions

 ProfilerSpy (const std::string &p_name)
 
 ~ProfilerSpy ()
 

Public Attributes

const std::string name
 
const std::chrono::steady_clock::time_point start
 
std::chrono::steady_clock::time_point end
 

Detailed Description

A little informer that is created when PROFILER_SPY(name) is written. It helps collecting informations about methods durations for debugging event in release

Constructor & Destructor Documentation

◆ ProfilerSpy()

OvAnalytics::Profiling::ProfilerSpy::ProfilerSpy ( const std::string &  p_name)

Create the profiler spy with the given name.

Parameters
p_name@project: Overload
Author
: Overload Tech. @restrictions: This software may not be resold, redistributed or otherwise conveyed to a third party.

◆ ~ProfilerSpy()

OvAnalytics::Profiling::ProfilerSpy::~ProfilerSpy ( )

Destroy the profiler spy. On destruction, his collected data will be saved in the profiler

Member Data Documentation

◆ end

std::chrono::steady_clock::time_point OvAnalytics::Profiling::ProfilerSpy::end

◆ name

const std::string OvAnalytics::Profiling::ProfilerSpy::name

◆ start

const std::chrono::steady_clock::time_point OvAnalytics::Profiling::ProfilerSpy::start

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