Lines Matching refs:tasks
80 ASSERT_EQ(1u, process_data_phase.tasks.size()); in ExpectSimpleProcessData()
82 EXPECT_EQ(kFile, process_data_phase.tasks[0].birth.location.file_name); in ExpectSimpleProcessData()
84 process_data_phase.tasks[0].birth.location.function_name); in ExpectSimpleProcessData()
86 process_data_phase.tasks[0].birth.location.line_number); in ExpectSimpleProcessData()
88 EXPECT_EQ(birth_thread, process_data_phase.tasks[0].birth.thread_name); in ExpectSimpleProcessData()
90 EXPECT_EQ(count, process_data_phase.tasks[0].death_data.count); in ExpectSimpleProcessData()
92 process_data_phase.tasks[0].death_data.run_duration_sum); in ExpectSimpleProcessData()
93 EXPECT_EQ(run_ms, process_data_phase.tasks[0].death_data.run_duration_max); in ExpectSimpleProcessData()
95 process_data_phase.tasks[0].death_data.run_duration_sample); in ExpectSimpleProcessData()
97 process_data_phase.tasks[0].death_data.queue_duration_sum); in ExpectSimpleProcessData()
99 process_data_phase.tasks[0].death_data.queue_duration_max); in ExpectSimpleProcessData()
101 process_data_phase.tasks[0].death_data.queue_duration_sample); in ExpectSimpleProcessData()
103 EXPECT_EQ(death_thread, process_data_phase.tasks[0].death_thread_name); in ExpectSimpleProcessData()
220 ASSERT_EQ(1u, process_data_phase.tasks.size()); in TEST_F()
221 EXPECT_EQ(kFile, process_data_phase.tasks[0].birth.location.file_name); in TEST_F()
223 process_data_phase.tasks[0].birth.location.function_name); in TEST_F()
225 process_data_phase.tasks[0].birth.location.line_number); in TEST_F()
226 EXPECT_EQ(kWorkerThreadName, process_data_phase.tasks[0].birth.thread_name); in TEST_F()
227 EXPECT_EQ(1, process_data_phase.tasks[0].death_data.count); in TEST_F()
229 process_data_phase.tasks[0].death_data.run_duration_sum); in TEST_F()
231 process_data_phase.tasks[0].death_data.run_duration_max); in TEST_F()
233 process_data_phase.tasks[0].death_data.run_duration_sample); in TEST_F()
234 EXPECT_EQ(0, process_data_phase.tasks[0].death_data.queue_duration_sum); in TEST_F()
235 EXPECT_EQ(0, process_data_phase.tasks[0].death_data.queue_duration_max); in TEST_F()
236 EXPECT_EQ(0, process_data_phase.tasks[0].death_data.queue_duration_sample); in TEST_F()
237 EXPECT_EQ(kWorkerThreadName, process_data_phase.tasks[0].death_thread_name); in TEST_F()
392 ASSERT_EQ(0u, process_data_phase.tasks.size()); in TEST_F()
414 ASSERT_EQ(0u, process_data_phase.tasks.size()); in TEST_F()
526 ASSERT_EQ(1u, process_data_phase0.tasks.size()); in TEST_F()
528 EXPECT_EQ(kFile, process_data_phase0.tasks[0].birth.location.file_name); in TEST_F()
530 process_data_phase0.tasks[0].birth.location.function_name); in TEST_F()
532 process_data_phase0.tasks[0].birth.location.line_number); in TEST_F()
534 EXPECT_EQ(kMainThreadName, process_data_phase0.tasks[0].birth.thread_name); in TEST_F()
536 EXPECT_EQ(1, process_data_phase0.tasks[0].death_data.count); in TEST_F()
537 EXPECT_EQ(2, process_data_phase0.tasks[0].death_data.run_duration_sum); in TEST_F()
538 EXPECT_EQ(2, process_data_phase0.tasks[0].death_data.run_duration_max); in TEST_F()
539 EXPECT_EQ(2, process_data_phase0.tasks[0].death_data.run_duration_sample); in TEST_F()
540 EXPECT_EQ(4, process_data_phase0.tasks[0].death_data.queue_duration_sum); in TEST_F()
541 EXPECT_EQ(4, process_data_phase0.tasks[0].death_data.queue_duration_max); in TEST_F()
542 EXPECT_EQ(4, process_data_phase0.tasks[0].death_data.queue_duration_sample); in TEST_F()
544 EXPECT_EQ(kMainThreadName, process_data_phase0.tasks[0].death_thread_name); in TEST_F()
550 ASSERT_EQ(1u, process_data_phase1.tasks.size()); in TEST_F()
552 EXPECT_EQ(kFile, process_data_phase1.tasks[0].birth.location.file_name); in TEST_F()
554 process_data_phase1.tasks[0].birth.location.function_name); in TEST_F()
556 process_data_phase1.tasks[0].birth.location.line_number); in TEST_F()
558 EXPECT_EQ(kMainThreadName, process_data_phase1.tasks[0].birth.thread_name); in TEST_F()
560 EXPECT_EQ(1, process_data_phase1.tasks[0].death_data.count); in TEST_F()
561 EXPECT_EQ(10, process_data_phase1.tasks[0].death_data.run_duration_sum); in TEST_F()
562 EXPECT_EQ(10, process_data_phase1.tasks[0].death_data.run_duration_max); in TEST_F()
563 EXPECT_EQ(10, process_data_phase1.tasks[0].death_data.run_duration_sample); in TEST_F()
564 EXPECT_EQ(2, process_data_phase1.tasks[0].death_data.queue_duration_sum); in TEST_F()
565 EXPECT_EQ(2, process_data_phase1.tasks[0].death_data.queue_duration_max); in TEST_F()
566 EXPECT_EQ(2, process_data_phase1.tasks[0].death_data.queue_duration_sample); in TEST_F()
568 EXPECT_EQ(kMainThreadName, process_data_phase1.tasks[0].death_thread_name); in TEST_F()
643 ASSERT_EQ(1u, process_data_phase0.tasks.size()); in TEST_F()
645 EXPECT_EQ(kFile, process_data_phase0.tasks[0].birth.location.file_name); in TEST_F()
647 process_data_phase0.tasks[0].birth.location.function_name); in TEST_F()
649 process_data_phase0.tasks[0].birth.location.line_number); in TEST_F()
651 EXPECT_EQ(kMainThreadName, process_data_phase0.tasks[0].birth.thread_name); in TEST_F()
653 EXPECT_EQ(1, process_data_phase0.tasks[0].death_data.count); in TEST_F()
654 EXPECT_EQ(6, process_data_phase0.tasks[0].death_data.run_duration_sum); in TEST_F()
655 EXPECT_EQ(6, process_data_phase0.tasks[0].death_data.run_duration_max); in TEST_F()
656 EXPECT_EQ(6, process_data_phase0.tasks[0].death_data.run_duration_sample); in TEST_F()
657 EXPECT_EQ(7, process_data_phase0.tasks[0].death_data.queue_duration_sum); in TEST_F()
658 EXPECT_EQ(7, process_data_phase0.tasks[0].death_data.queue_duration_max); in TEST_F()
659 EXPECT_EQ(7, process_data_phase0.tasks[0].death_data.queue_duration_sample); in TEST_F()
661 EXPECT_EQ(kMainThreadName, process_data_phase0.tasks[0].death_thread_name); in TEST_F()
667 ASSERT_EQ(1u, process_data_phase1.tasks.size()); in TEST_F()
669 EXPECT_EQ(kFile, process_data_phase1.tasks[0].birth.location.file_name); in TEST_F()
671 process_data_phase1.tasks[0].birth.location.function_name); in TEST_F()
673 process_data_phase1.tasks[0].birth.location.line_number); in TEST_F()
675 EXPECT_EQ(kMainThreadName, process_data_phase1.tasks[0].birth.thread_name); in TEST_F()
677 EXPECT_EQ(1, process_data_phase1.tasks[0].death_data.count); in TEST_F()
678 EXPECT_EQ(4, process_data_phase1.tasks[0].death_data.run_duration_sum); in TEST_F()
679 EXPECT_EQ(4, process_data_phase1.tasks[0].death_data.run_duration_max); in TEST_F()
680 EXPECT_EQ(4, process_data_phase1.tasks[0].death_data.run_duration_sample); in TEST_F()
681 EXPECT_EQ(5, process_data_phase1.tasks[0].death_data.queue_duration_sum); in TEST_F()
682 EXPECT_EQ(5, process_data_phase1.tasks[0].death_data.queue_duration_max); in TEST_F()
683 EXPECT_EQ(5, process_data_phase1.tasks[0].death_data.queue_duration_sample); in TEST_F()
685 EXPECT_EQ(kMainThreadName, process_data_phase1.tasks[0].death_thread_name); in TEST_F()
691 ASSERT_EQ(1u, process_data_phase2.tasks.size()); in TEST_F()
693 EXPECT_EQ(kFile, process_data_phase2.tasks[0].birth.location.file_name); in TEST_F()
695 process_data_phase2.tasks[0].birth.location.function_name); in TEST_F()
697 process_data_phase2.tasks[0].birth.location.line_number); in TEST_F()
699 EXPECT_EQ(kMainThreadName, process_data_phase2.tasks[0].birth.thread_name); in TEST_F()
701 EXPECT_EQ(1, process_data_phase2.tasks[0].death_data.count); in TEST_F()
702 EXPECT_EQ(2, process_data_phase2.tasks[0].death_data.run_duration_sum); in TEST_F()
703 EXPECT_EQ(2, process_data_phase2.tasks[0].death_data.run_duration_max); in TEST_F()
704 EXPECT_EQ(2, process_data_phase2.tasks[0].death_data.run_duration_sample); in TEST_F()
705 EXPECT_EQ(3, process_data_phase2.tasks[0].death_data.queue_duration_sum); in TEST_F()
706 EXPECT_EQ(3, process_data_phase2.tasks[0].death_data.queue_duration_max); in TEST_F()
707 EXPECT_EQ(3, process_data_phase2.tasks[0].death_data.queue_duration_sample); in TEST_F()
709 EXPECT_EQ(kMainThreadName, process_data_phase2.tasks[0].death_thread_name); in TEST_F()
748 ASSERT_EQ(1u, process_data_phase0.tasks.size()); in TEST_F()
750 EXPECT_EQ(kFile, process_data_phase0.tasks[0].birth.location.file_name); in TEST_F()
752 process_data_phase0.tasks[0].birth.location.function_name); in TEST_F()
754 process_data_phase0.tasks[0].birth.location.line_number); in TEST_F()
756 EXPECT_EQ(kMainThreadName, process_data_phase0.tasks[0].birth.thread_name); in TEST_F()
758 EXPECT_EQ(1, process_data_phase0.tasks[0].death_data.count); in TEST_F()
759 EXPECT_EQ(2, process_data_phase0.tasks[0].death_data.run_duration_sum); in TEST_F()
760 EXPECT_EQ(2, process_data_phase0.tasks[0].death_data.run_duration_max); in TEST_F()
761 EXPECT_EQ(2, process_data_phase0.tasks[0].death_data.run_duration_sample); in TEST_F()
762 EXPECT_EQ(4, process_data_phase0.tasks[0].death_data.queue_duration_sum); in TEST_F()
763 EXPECT_EQ(4, process_data_phase0.tasks[0].death_data.queue_duration_max); in TEST_F()
764 EXPECT_EQ(4, process_data_phase0.tasks[0].death_data.queue_duration_sample); in TEST_F()
766 EXPECT_EQ(kMainThreadName, process_data_phase0.tasks[0].death_thread_name); in TEST_F()
772 ASSERT_EQ(0u, process_data_phase1.tasks.size()); in TEST_F()
811 ASSERT_EQ(1u, process_data_phase1.tasks.size()); in TEST_F()
813 EXPECT_EQ(kFile, process_data_phase1.tasks[0].birth.location.file_name); in TEST_F()
815 process_data_phase1.tasks[0].birth.location.function_name); in TEST_F()
817 process_data_phase1.tasks[0].birth.location.line_number); in TEST_F()
819 EXPECT_EQ(kMainThreadName, process_data_phase1.tasks[0].birth.thread_name); in TEST_F()
821 EXPECT_EQ(1, process_data_phase1.tasks[0].death_data.count); in TEST_F()
822 EXPECT_EQ(2, process_data_phase1.tasks[0].death_data.run_duration_sum); in TEST_F()
823 EXPECT_EQ(2, process_data_phase1.tasks[0].death_data.run_duration_max); in TEST_F()
824 EXPECT_EQ(2, process_data_phase1.tasks[0].death_data.run_duration_sample); in TEST_F()
825 EXPECT_EQ(4, process_data_phase1.tasks[0].death_data.queue_duration_sum); in TEST_F()
826 EXPECT_EQ(4, process_data_phase1.tasks[0].death_data.queue_duration_max); in TEST_F()
827 EXPECT_EQ(4, process_data_phase1.tasks[0].death_data.queue_duration_sample); in TEST_F()
829 EXPECT_EQ(kMainThreadName, process_data_phase1.tasks[0].death_thread_name); in TEST_F()
905 ASSERT_EQ(0u, process_data_phase.tasks.size()); in TEST_F()
989 ASSERT_EQ(2u, process_data_phase.tasks.size()); in TEST_F()
991 EXPECT_EQ(kFile, process_data_phase.tasks[0].birth.location.file_name); in TEST_F()
993 process_data_phase.tasks[0].birth.location.function_name); in TEST_F()
995 process_data_phase.tasks[0].birth.location.line_number); in TEST_F()
996 EXPECT_EQ(kMainThreadName, process_data_phase.tasks[0].birth.thread_name); in TEST_F()
997 EXPECT_EQ(1, process_data_phase.tasks[0].death_data.count); in TEST_F()
998 EXPECT_EQ(2, process_data_phase.tasks[0].death_data.run_duration_sum); in TEST_F()
999 EXPECT_EQ(2, process_data_phase.tasks[0].death_data.run_duration_max); in TEST_F()
1000 EXPECT_EQ(2, process_data_phase.tasks[0].death_data.run_duration_sample); in TEST_F()
1001 EXPECT_EQ(4, process_data_phase.tasks[0].death_data.queue_duration_sum); in TEST_F()
1002 EXPECT_EQ(4, process_data_phase.tasks[0].death_data.queue_duration_max); in TEST_F()
1003 EXPECT_EQ(4, process_data_phase.tasks[0].death_data.queue_duration_sample); in TEST_F()
1004 EXPECT_EQ(kMainThreadName, process_data_phase.tasks[0].death_thread_name); in TEST_F()
1005 EXPECT_EQ(kFile, process_data_phase.tasks[1].birth.location.file_name); in TEST_F()
1007 process_data_phase.tasks[1].birth.location.function_name); in TEST_F()
1009 process_data_phase.tasks[1].birth.location.line_number); in TEST_F()
1010 EXPECT_EQ(kMainThreadName, process_data_phase.tasks[1].birth.thread_name); in TEST_F()
1011 EXPECT_EQ(1, process_data_phase.tasks[1].death_data.count); in TEST_F()
1012 EXPECT_EQ(0, process_data_phase.tasks[1].death_data.run_duration_sum); in TEST_F()
1013 EXPECT_EQ(0, process_data_phase.tasks[1].death_data.run_duration_max); in TEST_F()
1014 EXPECT_EQ(0, process_data_phase.tasks[1].death_data.run_duration_sample); in TEST_F()
1015 EXPECT_EQ(0, process_data_phase.tasks[1].death_data.queue_duration_sum); in TEST_F()
1016 EXPECT_EQ(0, process_data_phase.tasks[1].death_data.queue_duration_max); in TEST_F()
1017 EXPECT_EQ(0, process_data_phase.tasks[1].death_data.queue_duration_sample); in TEST_F()
1018 EXPECT_EQ(kStillAlive, process_data_phase.tasks[1].death_thread_name); in TEST_F()
1150 (process_data_phase.tasks[0].birth.location.line_number == kLineNumber) in TEST_F()
1155 ASSERT_EQ(2u, process_data_phase.tasks.size()); in TEST_F()
1156 EXPECT_EQ(kFile, process_data_phase.tasks[t0].birth.location.file_name); in TEST_F()
1158 process_data_phase.tasks[t0].birth.location.function_name); in TEST_F()
1160 process_data_phase.tasks[t0].birth.location.line_number); in TEST_F()
1161 EXPECT_EQ(kMainThreadName, process_data_phase.tasks[t0].birth.thread_name); in TEST_F()
1162 EXPECT_EQ(1, process_data_phase.tasks[t0].death_data.count); in TEST_F()
1163 EXPECT_EQ(6, process_data_phase.tasks[t0].death_data.run_duration_sum); in TEST_F()
1164 EXPECT_EQ(6, process_data_phase.tasks[t0].death_data.run_duration_max); in TEST_F()
1165 EXPECT_EQ(6, process_data_phase.tasks[t0].death_data.run_duration_sample); in TEST_F()
1166 EXPECT_EQ(4, process_data_phase.tasks[t0].death_data.queue_duration_sum); in TEST_F()
1167 EXPECT_EQ(4, process_data_phase.tasks[t0].death_data.queue_duration_max); in TEST_F()
1168 EXPECT_EQ(4, process_data_phase.tasks[t0].death_data.queue_duration_sample); in TEST_F()
1169 EXPECT_EQ(kMainThreadName, process_data_phase.tasks[t0].death_thread_name); in TEST_F()
1170 EXPECT_EQ(kFile, process_data_phase.tasks[t1].birth.location.file_name); in TEST_F()
1172 process_data_phase.tasks[t1].birth.location.function_name); in TEST_F()
1174 process_data_phase.tasks[t1].birth.location.line_number); in TEST_F()
1175 EXPECT_EQ(kMainThreadName, process_data_phase.tasks[t1].birth.thread_name); in TEST_F()
1176 EXPECT_EQ(1, process_data_phase.tasks[t1].death_data.count); in TEST_F()
1177 EXPECT_EQ(2, process_data_phase.tasks[t1].death_data.run_duration_sum); in TEST_F()
1178 EXPECT_EQ(2, process_data_phase.tasks[t1].death_data.run_duration_max); in TEST_F()
1179 EXPECT_EQ(2, process_data_phase.tasks[t1].death_data.run_duration_sample); in TEST_F()
1180 EXPECT_EQ(1, process_data_phase.tasks[t1].death_data.queue_duration_sum); in TEST_F()
1181 EXPECT_EQ(1, process_data_phase.tasks[t1].death_data.queue_duration_max); in TEST_F()
1182 EXPECT_EQ(1, process_data_phase.tasks[t1].death_data.queue_duration_sample); in TEST_F()
1183 EXPECT_EQ(kMainThreadName, process_data_phase.tasks[t1].death_thread_name); in TEST_F()