Lines Matching refs:ThreadData
31 ThreadData::ShutdownSingleThreadedCleanup(true); in TrackedObjectsTest()
34 ThreadData::SetAlternateTimeSource(&TrackedObjectsTest::GetTestTime); in TrackedObjectsTest()
35 ThreadData::now_function_is_time_ = true; in TrackedObjectsTest()
41 ThreadData::ShutdownSingleThreadedCleanup(false); in ~TrackedObjectsTest()
46 ThreadData::ShutdownSingleThreadedCleanup(false); in Reset()
56 ThreadData::InitializeThreadContext(kMainThreadName); in TallyABirth()
59 Births* birth = ThreadData::TallyABirthIfActive(location); in TallyABirth()
61 if (ThreadData::status() == ThreadData::DEACTIVATED) in TallyABirth()
123 ThreadData::InitializeAndSetTrackingStatus(ThreadData::PROFILING_ACTIVE); in TEST_F()
132 ThreadData::InitializeAndSetTrackingStatus(ThreadData::PROFILING_ACTIVE); in TEST_F()
134 EXPECT_FALSE(ThreadData::first()); // No activity even on this thread. in TEST_F()
135 ThreadData* data = ThreadData::Get(); in TEST_F()
136 EXPECT_TRUE(ThreadData::first()); // Now class was constructed. in TEST_F()
139 EXPECT_EQ(data, ThreadData::Get()); in TEST_F()
140 ThreadData::BirthMap birth_map; in TEST_F()
141 ThreadData::DeathsSnapshot deaths; in TEST_F()
150 ThreadData::InitializeAndSetTrackingStatus(ThreadData::PROFILING_ACTIVE); in TEST_F()
151 EXPECT_FALSE(ThreadData::first()); // No activity even on this thread. in TEST_F()
152 data = ThreadData::Get(); in TEST_F()
153 EXPECT_TRUE(ThreadData::first()); // Now class was constructed. in TEST_F()
156 EXPECT_EQ(data, ThreadData::Get()); in TEST_F()
165 ThreadData::InitializeAndSetTrackingStatus(ThreadData::PROFILING_ACTIVE); in TEST_F()
170 ThreadData::TallyABirthIfActive(location); in TEST_F()
172 ThreadData* data = ThreadData::first(); in TEST_F()
175 EXPECT_EQ(data, ThreadData::Get()); in TEST_F()
176 ThreadData::BirthMap birth_map; in TEST_F()
177 ThreadData::DeathsSnapshot deaths; in TEST_F()
200 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch); in TEST_F()
214 ThreadData::Snapshot(0, &process_data); in TEST_F()
241 ThreadData::InitializeAndSetTrackingStatus(ThreadData::PROFILING_ACTIVE); in TEST_F()
280 ThreadData::InitializeAndSetTrackingStatus(ThreadData::PROFILING_ACTIVE); in TEST_F()
345 ThreadData::InitializeAndSetTrackingStatus(ThreadData::PROFILING_ACTIVE); in TEST_F()
377 ThreadData::InitializeAndSetTrackingStatus(ThreadData::DEACTIVATED); in TEST_F()
384 ThreadData::Snapshot(0, &process_data); in TEST_F()
399 ThreadData::InitializeAndSetTrackingStatus(ThreadData::DEACTIVATED); in TEST_F()
406 ThreadData::Snapshot(0, &process_data); in TEST_F()
420 ThreadData::InitializeAndSetTrackingStatus(ThreadData::PROFILING_ACTIVE); in TEST_F()
427 ThreadData::Snapshot(0, &process_data); in TEST_F()
433 ThreadData::InitializeAndSetTrackingStatus(ThreadData::PROFILING_ACTIVE); in TEST_F()
440 ThreadData::Snapshot(0, &process_data); in TEST_F()
446 ThreadData::InitializeAndSetTrackingStatus(ThreadData::PROFILING_ACTIVE); in TEST_F()
466 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch); in TEST_F()
469 ThreadData::Snapshot(0, &process_data); in TEST_F()
475 ThreadData::InitializeAndSetTrackingStatus(ThreadData::PROFILING_ACTIVE); in TEST_F()
495 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch); in TEST_F()
497 ThreadData::OnProfilingPhaseCompleted(0); in TEST_F()
515 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task1, stopwatch1); in TEST_F()
518 ThreadData::Snapshot(1, &process_data); in TEST_F()
574 ThreadData::InitializeAndSetTrackingStatus(ThreadData::PROFILING_ACTIVE); in TEST_F()
593 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch); in TEST_F()
596 ThreadData::OnProfilingPhaseCompleted(0); in TEST_F()
611 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch); in TEST_F()
614 ThreadData::OnProfilingPhaseCompleted(1); in TEST_F()
630 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch); in TEST_F()
635 ThreadData::Snapshot(2, &process_data); in TEST_F()
715 ThreadData::InitializeAndSetTrackingStatus(ThreadData::PROFILING_ACTIVE); in TEST_F()
719 ThreadData::InitializeThreadContext(kMainThreadName); in TEST_F()
735 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch); in TEST_F()
737 ThreadData::OnProfilingPhaseCompleted(0); in TEST_F()
740 ThreadData::Snapshot(1, &process_data); in TEST_F()
778 ThreadData::InitializeAndSetTrackingStatus(ThreadData::PROFILING_ACTIVE); in TEST_F()
780 ThreadData::OnProfilingPhaseCompleted(0); in TEST_F()
784 ThreadData::InitializeThreadContext(kMainThreadName); in TEST_F()
800 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch); in TEST_F()
803 ThreadData::Snapshot(1, &process_data); in TEST_F()
839 ThreadData::InitializeAndSetTrackingStatus(ThreadData::PROFILING_ACTIVE); in TEST_F()
852 ThreadData::InitializeAndSetTrackingStatus(ThreadData::DEACTIVATED); in TEST_F()
862 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch); in TEST_F()
865 ThreadData::Snapshot(0, &process_data); in TEST_F()
874 ThreadData::InitializeAndSetTrackingStatus(ThreadData::DEACTIVATED); in TEST_F()
894 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch); in TEST_F()
897 ThreadData::Snapshot(0, &process_data); in TEST_F()
911 ThreadData::InitializeAndSetTrackingStatus(ThreadData::PROFILING_ACTIVE); in TEST_F()
931 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch); in TEST_F()
942 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task2, stopwatch2); in TEST_F()
945 ThreadData::Snapshot(0, &process_data); in TEST_F()
951 ThreadData::InitializeAndSetTrackingStatus(ThreadData::PROFILING_ACTIVE); in TEST_F()
954 ThreadData::InitializeThreadContext(kMainThreadName); in TEST_F()
972 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch); in TEST_F()
982 ThreadData::Snapshot(0, &process_data); in TEST_F()
1023 ThreadData::InitializeAndSetTrackingStatus(ThreadData::PROFILING_ACTIVE); in TEST_F()
1048 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, task_stopwatch); in TEST_F()
1051 ThreadData::Snapshot(0, &process_data); in TEST_F()
1057 ThreadData::InitializeAndSetTrackingStatus(ThreadData::PROFILING_ACTIVE); in TEST_F()
1088 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, task_stopwatch); in TEST_F()
1091 ThreadData::Snapshot(0, &process_data); in TEST_F()
1097 ThreadData::InitializeAndSetTrackingStatus(ThreadData::PROFILING_ACTIVE); in TEST_F()
1129 ThreadData::TallyRunOnNamedThreadIfTracking( in TEST_F()
1138 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, task_stopwatch); in TEST_F()
1141 ThreadData::Snapshot(0, &process_data); in TEST_F()