Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
ProfileHighLevel::Block Class Reference

Timer based function block profile. More...

#include <profile_highlevel.h>

Public Member Functions

 Block (const char *name)
 Instructs high level profiler to start a new timer based function block (or update if it already exists)
 
 ~Block ()
 Updates timer based function block.
 

Detailed Description

Timer based function block profile.

Definition at line 148 of file profile_highlevel.h.

Constructor & Destructor Documentation

◆ Block()

ProfileHighLevel::Block::Block ( const char * name)
explicit

Instructs high level profiler to start a new timer based function block (or update if it already exists)

Note
These function blocks are in the same name space as high level profile values registered with ProfileHighLevel::AddProfile()
Parameters
namename of function block

Definition at line 87 of file profile_highlevel.cpp.

◆ ~Block()

ProfileHighLevel::Block::~Block ( )

Updates timer based function block.

Definition at line 102 of file profile_highlevel.cpp.


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