• Home
  • Raw
  • Download

Lines Matching refs:GlobalActivityTracker

57     GlobalActivityTracker* global_tracker = GlobalActivityTracker::Get();  in ~ActivityAnalyzerTest()
71 std::unique_ptr<GlobalActivityTracker> old_global = in AsOtherProcess()
72 GlobalActivityTracker::ReleaseForTesting(); in AsOtherProcess()
80 GlobalActivityTracker::CreateWithAllocator(std::move(new_allocator), 3, in AsOtherProcess()
85 GlobalActivityTracker::ReleaseForTesting(); in AsOtherProcess()
86 GlobalActivityTracker::SetForTesting(std::move(old_global)); in AsOtherProcess()
126 GlobalActivityTracker::Get() in Run()
137 GlobalActivityTracker::Get()->GetTrackerForCurrentThread()->PopActivity(id); in Run()
166 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0); in TEST_F()
167 GlobalActivityTracker::Get()->process_data().SetString("foo", "bar"); in TEST_F()
170 GlobalActivityTracker::Get()->allocator(); in TEST_F()
232 GlobalActivityTracker::CreateWithSharedMemoryHandle(handle1, kMemorySize, 0, in TEST_F()
234 GlobalActivityTracker::Get()->process_data().SetString("foo", "bar"); in TEST_F()
249 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0); in TEST_F()
258 GlobalActivityTracker::Get()->allocator(); in TEST_F()
265 GlobalActivityTracker::Get()->GetOrCreateTrackerForCurrentThread(); in TEST_F()
353 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0); in TEST_F()
359 GlobalActivityTracker::Get()->allocator(); in TEST_F()
365 ActivityUserData& process_data = GlobalActivityTracker::Get()->process_data(); in TEST_F()
401 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0); in TEST_F()
402 GlobalActivityTracker* global = GlobalActivityTracker::Get(); in TEST_F()
410 GlobalActivityTracker::ModuleInfo info1; in TEST_F()
422 std::vector<GlobalActivityTracker::ModuleInfo> modules1; in TEST_F()
425 GlobalActivityTracker::ModuleInfo& stored1a = modules1[0]; in TEST_F()
440 GlobalActivityTracker::ModuleInfo& stored1b = modules1[0]; in TEST_F()
451 GlobalActivityTracker::ModuleInfo info2; in TEST_F()
463 std::vector<GlobalActivityTracker::ModuleInfo> modules2; in TEST_F()
466 GlobalActivityTracker::ModuleInfo& stored2 = modules2[1]; in TEST_F()
479 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0); in TEST_F()
482 GlobalActivityTracker::Get()->allocator(); in TEST_F()
486 GlobalActivityTracker::Get()->RecordLogMessage("hello world"); in TEST_F()
487 GlobalActivityTracker::Get()->RecordLogMessage("foo bar"); in TEST_F()
496 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 1001); in TEST_F()
497 GlobalActivityTracker* global = GlobalActivityTracker::Get(); in TEST_F()
504 GlobalActivityTracker::Get()->process_data().GetBaseAddress(), in TEST_F()
508 GlobalActivityTracker::Get()->process_data().SetInt("pid", in TEST_F()
515 ASSERT_NE(global, GlobalActivityTracker::Get()); in TEST_F()
516 EXPECT_EQ(2002, GlobalActivityTracker::Get()->process_id()); in TEST_F()
521 GlobalActivityTracker::Get()->process_data().GetBaseAddress(), in TEST_F()
525 GlobalActivityTracker::Get()->process_data().SetInt( in TEST_F()
526 "pid", GlobalActivityTracker::Get()->process_id()); in TEST_F()
528 ASSERT_EQ(global, GlobalActivityTracker::Get()); in TEST_F()
529 EXPECT_EQ(1001, GlobalActivityTracker::Get()->process_id()); in TEST_F()