Home
last modified time | relevance | path

Searched refs:ParticleProfileCenter (Results 1 – 2 of 2) sorted by relevance

/NW4C-1.2.23/include/nw/dev/
Ddev_ParticleProfile.h36 class ParticleProfileCenter
39 NW_DISALLOW_COPY_AND_ASSIGN(ParticleProfileCenter);
71 static ParticleProfileCenter& GetInstance() in GetInstance()
93 ParticleProfileCenter() in ParticleProfileCenter() function
97 static ParticleProfileCenter* m_Instance;
111 class ParticleProfileCenter
114 NW_DISALLOW_COPY_AND_ASSIGN(ParticleProfileCenter);
121 ParticleProfileCenter(){}
138 #define NW_PARTICLE_PROFILE_START(name) bool ret = nw::dev::ParticleProfileCenter::Start(name)
140 #define NW_PARTICLE_PROFILE_STOP() if(ret) nw::dev::ParticleProfileCenter::Stop()
[all …]
/NW4C-1.2.23/sources/libraries/dev/
Ddev_ParticleProfile.cpp31 ParticleProfileCenter* ParticleProfileCenter::m_Instance = NULL;
38 ParticleProfileCenter::Initialize(int maxReport, os::IAllocator* allocator) in Initialize()
49 void* memory = allocator->Alloc(sizeof(ParticleProfileCenter)); in Initialize()
50 m_Instance = new(memory) ParticleProfileCenter(); in Initialize()
65 ParticleProfileCenter::Finalize(os::IAllocator* allocator) in Finalize()
87 bool ParticleProfileCenter::Start(const char* name) in Start()
103 void ParticleProfileCenter::Stop() in Stop()
124 ParticleProfileCenter::GetTime() in GetTime()