An RAII class that starts a profiler when created, and stops it when destroyed.
This class is used to start a profiler and automatically stop it when the CYIAutoProfiler instance goes out of scope.
Sample usage:
#include <utility/YiAutoProfiler.h>
Public Member Functions | |
| CYIAutoProfiler (CYIProfileData *pProfileData) | |
| ~CYIAutoProfiler () | |
|
inline |
|
inline |