ScopedProfile Class Reference
Used to provide C++ RAII-style profiling sample. The sample will start on the construction of the ScopedProfile
object and stop when the object leaves scope.
More...
#include <Profiler.hh>
Public Member Functions | |
ScopedProfile (const char *_name, uint32_t *_hash) | |
Constructor. Starts profile sample. | |
~ScopedProfile () | |
Destructor. Stops profile sample. | |
Detailed Description
Used to provide C++ RAII-style profiling sample. The sample will start on the construction of the ScopedProfile
object and stop when the object leaves scope.
Constructor & Destructor Documentation
◆ ScopedProfile()
|
inline |
Constructor. Starts profile sample.
- Parameters
-
[in] _name Name of the sample [in,out] _hash An optional hash value that can be cached between executions.
◆ ~ScopedProfile()
|
inline |
Destructor. Stops profile sample.
The documentation for this class was generated from the following file: