Searched refs:ParticleProfileCenter (Results 1 – 2 of 2) sorted by relevance
36 class ParticleProfileCenter39 NW_DISALLOW_COPY_AND_ASSIGN(ParticleProfileCenter);71 static ParticleProfileCenter& GetInstance() in GetInstance()93 ParticleProfileCenter() in ParticleProfileCenter() function97 static ParticleProfileCenter* m_Instance;111 class ParticleProfileCenter114 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 …]
31 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()