Searched refs:ParticleProfileCenter (Results 1 – 2 of 2) sorted by relevance
38 class ParticleProfileCenter41 NW_DISALLOW_COPY_AND_ASSIGN(ParticleProfileCenter);73 static ParticleProfileCenter& GetInstance() in GetInstance()95 ParticleProfileCenter() in ParticleProfileCenter() function99 static ParticleProfileCenter* m_Instance;113 class ParticleProfileCenter116 NW_DISALLOW_COPY_AND_ASSIGN(ParticleProfileCenter);123 ParticleProfileCenter(){}140 #define NW_PARTICLE_PROFILE_START(name) bool ret = nw::dev::ParticleProfileCenter::Start(name)142 #define NW_PARTICLE_PROFILE_STOP() if(ret) nw::dev::ParticleProfileCenter::Stop()[all …]
33 ParticleProfileCenter* ParticleProfileCenter::m_Instance = NULL;40 ParticleProfileCenter::Initialize(int maxReport, os::IAllocator* allocator) in Initialize()51 void* memory = allocator->Alloc(sizeof(ParticleProfileCenter)); in Initialize()52 m_Instance = new(memory) ParticleProfileCenter(); in Initialize()67 ParticleProfileCenter::Finalize(os::IAllocator* allocator) in Finalize()89 bool ParticleProfileCenter::Start(const char* name) in Start()105 void ParticleProfileCenter::Stop() in Stop()126 ParticleProfileCenter::GetTime() in GetTime()