Lines Matching refs:birth
50 // Simulate a birth on the thread named |thread_name|, at the given
58 // Do not delete |birth|. We don't own it.
59 Births* birth = ThreadData::TallyABirthIfActive(location);
62 EXPECT_EQ(reinterpret_cast<Births*>(NULL), birth);
64 EXPECT_NE(reinterpret_cast<Births*>(NULL), birth);
82 EXPECT_EQ(kFile, process_data_phase.tasks[0].birth.location.file_name);
84 process_data_phase.tasks[0].birth.location.function_name);
86 process_data_phase.tasks[0].birth.location.line_number);
88 EXPECT_EQ(birth_thread, process_data_phase.tasks[0].birth.thread_name);
179 EXPECT_EQ(1u, birth_map.size()); // 1 birth location.
180 EXPECT_EQ(1, birth_map.begin()->second->birth_count()); // 1 birth.
184 // Now instigate another birth, while we are timing the run of the first
186 // Create a child (using the same birth location).
205 EXPECT_EQ(1u, birth_map.size()); // 1 birth location.
221 EXPECT_EQ(kFile, process_data_phase.tasks[0].birth.location.file_name);
223 process_data_phase.tasks[0].birth.location.function_name);
225 process_data_phase.tasks[0].birth.location.line_number);
226 EXPECT_EQ(kWorkerThreadName, process_data_phase.tasks[0].birth.thread_name);
528 EXPECT_EQ(kFile, process_data_phase0.tasks[0].birth.location.file_name);
530 process_data_phase0.tasks[0].birth.location.function_name);
532 process_data_phase0.tasks[0].birth.location.line_number);
534 EXPECT_EQ(kMainThreadName, process_data_phase0.tasks[0].birth.thread_name);
552 EXPECT_EQ(kFile, process_data_phase1.tasks[0].birth.location.file_name);
554 process_data_phase1.tasks[0].birth.location.function_name);
556 process_data_phase1.tasks[0].birth.location.line_number);
558 EXPECT_EQ(kMainThreadName, process_data_phase1.tasks[0].birth.thread_name);
645 EXPECT_EQ(kFile, process_data_phase0.tasks[0].birth.location.file_name);
647 process_data_phase0.tasks[0].birth.location.function_name);
649 process_data_phase0.tasks[0].birth.location.line_number);
651 EXPECT_EQ(kMainThreadName, process_data_phase0.tasks[0].birth.thread_name);
669 EXPECT_EQ(kFile, process_data_phase1.tasks[0].birth.location.file_name);
671 process_data_phase1.tasks[0].birth.location.function_name);
673 process_data_phase1.tasks[0].birth.location.line_number);
675 EXPECT_EQ(kMainThreadName, process_data_phase1.tasks[0].birth.thread_name);
693 EXPECT_EQ(kFile, process_data_phase2.tasks[0].birth.location.file_name);
695 process_data_phase2.tasks[0].birth.location.function_name);
697 process_data_phase2.tasks[0].birth.location.line_number);
699 EXPECT_EQ(kMainThreadName, process_data_phase2.tasks[0].birth.thread_name);
750 EXPECT_EQ(kFile, process_data_phase0.tasks[0].birth.location.file_name);
752 process_data_phase0.tasks[0].birth.location.function_name);
754 process_data_phase0.tasks[0].birth.location.line_number);
756 EXPECT_EQ(kMainThreadName, process_data_phase0.tasks[0].birth.thread_name);
813 EXPECT_EQ(kFile, process_data_phase1.tasks[0].birth.location.file_name);
815 process_data_phase1.tasks[0].birth.location.function_name);
817 process_data_phase1.tasks[0].birth.location.line_number);
819 EXPECT_EQ(kMainThreadName, process_data_phase1.tasks[0].birth.thread_name);
834 // We will deactivate tracking after the birth, and before the death, and
871 // the birth nor the death will be recorded.
991 EXPECT_EQ(kFile, process_data_phase.tasks[0].birth.location.file_name);
993 process_data_phase.tasks[0].birth.location.function_name);
995 process_data_phase.tasks[0].birth.location.line_number);
996 EXPECT_EQ(kMainThreadName, process_data_phase.tasks[0].birth.thread_name);
1005 EXPECT_EQ(kFile, process_data_phase.tasks[1].birth.location.file_name);
1007 process_data_phase.tasks[1].birth.location.function_name);
1009 process_data_phase.tasks[1].birth.location.line_number);
1010 EXPECT_EQ(kMainThreadName, process_data_phase.tasks[1].birth.thread_name);
1150 (process_data_phase.tasks[0].birth.location.line_number == kLineNumber)
1156 EXPECT_EQ(kFile, process_data_phase.tasks[t0].birth.location.file_name);
1158 process_data_phase.tasks[t0].birth.location.function_name);
1160 process_data_phase.tasks[t0].birth.location.line_number);
1161 EXPECT_EQ(kMainThreadName, process_data_phase.tasks[t0].birth.thread_name);
1170 EXPECT_EQ(kFile, process_data_phase.tasks[t1].birth.location.file_name);
1172 process_data_phase.tasks[t1].birth.location.function_name);
1174 process_data_phase.tasks[t1].birth.location.line_number);
1175 EXPECT_EQ(kMainThreadName, process_data_phase.tasks[t1].birth.thread_name);