Home
last modified time | relevance | path

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

/NW4C-2.0.3/include/nw/dev/
Ddev_ParticleProfile.h38 class ParticleProfileCenter
41 NW_DISALLOW_COPY_AND_ASSIGN(ParticleProfileCenter);
73 static ParticleProfileCenter& GetInstance() in GetInstance()
95 ParticleProfileCenter() in ParticleProfileCenter() function
99 static ParticleProfileCenter* m_Instance;
113 class ParticleProfileCenter
116 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 …]
/NW4C-2.0.3/sources/libraries/dev/
Ddev_ParticleProfile.cpp33 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()