Plasma Engine  2.0
Loading...
Searching...
No Matches
plProfilingScope Class Reference

This class encapsulates a profiling scope. More...

#include <Profiling.h>

Inheritance diagram for plProfilingScope:

Public Member Functions

 plProfilingScope (plStringView sName, const char *szFunctionName, plTime timeout)
 

Protected Attributes

plStringView m_sName
 
const char * m_szFunction
 
plTime m_BeginTime
 
plTime m_Timeout
 

Detailed Description

This class encapsulates a profiling scope.

The constructor creates a new scope in the profiling system and the destructor pops the scope. You shouldn't need to use this directly, just use the macro PL_PROFILE_SCOPE provided below.


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