Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros
Profile.h File Reference
#include <vector>
#include "lib/adts/ring_buf.h"
#include "ps/Profiler2.h"
#include "ps/Singleton.h"
#include "ps/ThreadUtil.h"

Go to the source code of this file.

Classes

class  CProfileNode
 
class  CProfileManager
 
class  CProfileSample
 
class  CProfileSampleScript
 

Macros

#define PROFILE_AMORTIZE_FRAMES   30
 
#define PROFILE_AMORTIZE_TURNS   1
 
#define g_Profiler   CProfileManager::GetSingleton()
 
#define PROFILE(name)   CProfileSample __profile(name)
 
#define PROFILE_START(name)   { CProfileSample __profile(name)
 
#define PROFILE_END(name)   }
 
#define PROFILE3(name)   PROFILE(name); PROFILE2(name)
 
#define PROFILE3_GPU(name)   PROFILE(name); PROFILE2(name); PROFILE2_GPU(name)
 

Macro Definition Documentation

#define g_Profiler   CProfileManager::GetSingleton()

Definition at line 147 of file Profile.h.

#define PROFILE (   name)    CProfileSample __profile(name)

Definition at line 195 of file Profile.h.

#define PROFILE3 (   name)    PROFILE(name); PROFILE2(name)

Definition at line 201 of file Profile.h.

#define PROFILE3_GPU (   name)    PROFILE(name); PROFILE2(name); PROFILE2_GPU(name)

Definition at line 204 of file Profile.h.

#define PROFILE_AMORTIZE_FRAMES   30

Definition at line 32 of file Profile.h.

#define PROFILE_AMORTIZE_TURNS   1

Definition at line 33 of file Profile.h.

#define PROFILE_END (   name)    }

Definition at line 198 of file Profile.h.

#define PROFILE_START (   name)    { CProfileSample __profile(name)

Definition at line 197 of file Profile.h.