Searched refs:ProfileCenter (Results 1 – 3 of 3) sorted by relevance
29 #define NW_INITIALIZE_PROFILE(maxReport, allocator) nw::dev::ProfileCenter::Initialize(maxReport, a…30 #define NW_FINALIZE_PROFILE(allocator) nw::dev::ProfileCenter::Finalize(allocator)31 #define NW_PROFILE(name) nw::dev::AutoProfile NW_profile(name, nw::dev::ProfileCenter::GetProfileMa…32 #define NW_DUMP_PROFILE() nw::dev::ProfileCenter::GetProfileManager()->DumpReports()33 #define NW_CLEAR_PROFILE() nw::dev::ProfileCenter::GetProfileManager()->ClearReports()
236 class ProfileCenter239 NW_DISALLOW_COPY_AND_ASSIGN(ProfileCenter);251 ProfileCenter::GetInstance().SetProfileManagerInternal(profile); in SetProfileManager()257 return ProfileCenter::GetInstance().GetProfileManagerInternal(); in GetProfileManager()274 static ProfileCenter& GetInstance() in GetInstance()280 ProfileCenter() in ProfileCenter() function284 static ProfileCenter* m_Instance;374 class ProfileCenter
42 ProfileCenter* ProfileCenter::m_Instance = NULL;401 ProfileCenter::Initialize(int maxReport, os::IAllocator* allocator) in Initialize()416 void* memory = allocator->Alloc(sizeof(ProfileCenter)); in Initialize()418 m_Instance = new(memory) ProfileCenter(); in Initialize()419 ProfileCenter::SetProfileManager(profileManager); in Initialize()424 ProfileCenter::Finalize(os::IAllocator* allocator) in Finalize()426 ProfileManager* profileManager = ProfileCenter::GetProfileManager(); in Finalize()430 ProfileCenter::SetProfileManager(NULL); in Finalize()