Searched refs:ProfileCenter (Results 1 – 3 of 3) sorted by relevance
27 #define NW_INITIALIZE_PROFILE(maxReport, allocator) nw::dev::ProfileCenter::Initialize(maxReport, a…28 #define NW_FINALIZE_PROFILE(allocator) nw::dev::ProfileCenter::Finalize(allocator)29 #define NW_PROFILE(name) nw::dev::AutoProfile NW_profile(name, nw::dev::ProfileCenter::GetProfileMa…30 #define NW_DUMP_PROFILE() nw::dev::ProfileCenter::GetProfileManager()->DumpReports()31 #define NW_CLEAR_PROFILE() nw::dev::ProfileCenter::GetProfileManager()->ClearReports()
234 class ProfileCenter237 NW_DISALLOW_COPY_AND_ASSIGN(ProfileCenter);249 ProfileCenter::GetInstance().SetProfileManagerInternal(profile); in SetProfileManager()255 return ProfileCenter::GetInstance().GetProfileManagerInternal(); in GetProfileManager()272 static ProfileCenter& GetInstance() in GetInstance()278 ProfileCenter() in ProfileCenter() function282 static ProfileCenter* m_Instance;372 class ProfileCenter
40 ProfileCenter* ProfileCenter::m_Instance = NULL;399 ProfileCenter::Initialize(int maxReport, os::IAllocator* allocator) in Initialize()414 void* memory = allocator->Alloc(sizeof(ProfileCenter)); in Initialize()416 m_Instance = new(memory) ProfileCenter(); in Initialize()417 ProfileCenter::SetProfileManager(profileManager); in Initialize()422 ProfileCenter::Finalize(os::IAllocator* allocator) in Finalize()424 ProfileManager* profileManager = ProfileCenter::GetProfileManager(); in Finalize()428 ProfileCenter::SetProfileManager(NULL); in Finalize()