Lines Matching refs:process_data

68   void ExpectSimpleProcessData(const ProcessDataSnapshot& process_data,  in ExpectSimpleProcessData()  argument
75 ASSERT_EQ(1u, process_data.phased_snapshots.size()); in ExpectSimpleProcessData()
76 auto it = process_data.phased_snapshots.find(0); in ExpectSimpleProcessData()
77 ASSERT_TRUE(it != process_data.phased_snapshots.end()); in ExpectSimpleProcessData()
105 EXPECT_EQ(base::GetCurrentProcId(), process_data.process_id); in ExpectSimpleProcessData()
213 ProcessDataSnapshot process_data; in TEST_F() local
214 ThreadData::Snapshot(0, &process_data); in TEST_F()
216 ASSERT_EQ(1u, process_data.phased_snapshots.size()); in TEST_F()
217 auto it = process_data.phased_snapshots.find(0); in TEST_F()
218 ASSERT_TRUE(it != process_data.phased_snapshots.end()); in TEST_F()
383 ProcessDataSnapshot process_data; in TEST_F() local
384 ThreadData::Snapshot(0, &process_data); in TEST_F()
386 ASSERT_EQ(1u, process_data.phased_snapshots.size()); in TEST_F()
388 auto it = process_data.phased_snapshots.find(0); in TEST_F()
389 ASSERT_TRUE(it != process_data.phased_snapshots.end()); in TEST_F()
394 EXPECT_EQ(base::GetCurrentProcId(), process_data.process_id); in TEST_F()
405 ProcessDataSnapshot process_data; in TEST_F() local
406 ThreadData::Snapshot(0, &process_data); in TEST_F()
408 ASSERT_EQ(1u, process_data.phased_snapshots.size()); in TEST_F()
410 auto it = process_data.phased_snapshots.find(0); in TEST_F()
411 ASSERT_TRUE(it != process_data.phased_snapshots.end()); in TEST_F()
416 EXPECT_EQ(base::GetCurrentProcId(), process_data.process_id); in TEST_F()
426 ProcessDataSnapshot process_data; in TEST_F() local
427 ThreadData::Snapshot(0, &process_data); in TEST_F()
428 ExpectSimpleProcessData(process_data, kFunction, kWorkerThreadName, in TEST_F()
439 ProcessDataSnapshot process_data; in TEST_F() local
440 ThreadData::Snapshot(0, &process_data); in TEST_F()
441 ExpectSimpleProcessData(process_data, kFunction, kMainThreadName, kStillAlive, in TEST_F()
468 ProcessDataSnapshot process_data; in TEST_F() local
469 ThreadData::Snapshot(0, &process_data); in TEST_F()
470 ExpectSimpleProcessData(process_data, kFunction, kMainThreadName, in TEST_F()
517 ProcessDataSnapshot process_data; in TEST_F() local
518 ThreadData::Snapshot(1, &process_data); in TEST_F()
520 ASSERT_EQ(2u, process_data.phased_snapshots.size()); in TEST_F()
522 auto it0 = process_data.phased_snapshots.find(0); in TEST_F()
523 ASSERT_TRUE(it0 != process_data.phased_snapshots.end()); in TEST_F()
546 auto it1 = process_data.phased_snapshots.find(1); in TEST_F()
547 ASSERT_TRUE(it1 != process_data.phased_snapshots.end()); in TEST_F()
570 EXPECT_EQ(base::GetCurrentProcId(), process_data.process_id); in TEST_F()
634 ProcessDataSnapshot process_data; in TEST_F() local
635 ThreadData::Snapshot(2, &process_data); in TEST_F()
637 ASSERT_EQ(3u, process_data.phased_snapshots.size()); in TEST_F()
639 auto it0 = process_data.phased_snapshots.find(0); in TEST_F()
640 ASSERT_TRUE(it0 != process_data.phased_snapshots.end()); in TEST_F()
663 auto it1 = process_data.phased_snapshots.find(1); in TEST_F()
664 ASSERT_TRUE(it1 != process_data.phased_snapshots.end()); in TEST_F()
687 auto it2 = process_data.phased_snapshots.find(2); in TEST_F()
688 ASSERT_TRUE(it2 != process_data.phased_snapshots.end()); in TEST_F()
711 EXPECT_EQ(base::GetCurrentProcId(), process_data.process_id); in TEST_F()
739 ProcessDataSnapshot process_data; in TEST_F() local
740 ThreadData::Snapshot(1, &process_data); in TEST_F()
742 ASSERT_EQ(2u, process_data.phased_snapshots.size()); in TEST_F()
744 auto it0 = process_data.phased_snapshots.find(0); in TEST_F()
745 ASSERT_TRUE(it0 != process_data.phased_snapshots.end()); in TEST_F()
768 auto it1 = process_data.phased_snapshots.find(1); in TEST_F()
769 ASSERT_TRUE(it1 != process_data.phased_snapshots.end()); in TEST_F()
774 EXPECT_EQ(base::GetCurrentProcId(), process_data.process_id); in TEST_F()
802 ProcessDataSnapshot process_data; in TEST_F() local
803 ThreadData::Snapshot(1, &process_data); in TEST_F()
805 ASSERT_EQ(1u, process_data.phased_snapshots.size()); in TEST_F()
807 auto it1 = process_data.phased_snapshots.find(1); in TEST_F()
808 ASSERT_TRUE(it1 != process_data.phased_snapshots.end()); in TEST_F()
831 EXPECT_EQ(base::GetCurrentProcId(), process_data.process_id); in TEST_F()
864 ProcessDataSnapshot process_data; in TEST_F() local
865 ThreadData::Snapshot(0, &process_data); in TEST_F()
866 ExpectSimpleProcessData(process_data, kFunction, kMainThreadName, in TEST_F()
896 ProcessDataSnapshot process_data; in TEST_F() local
897 ThreadData::Snapshot(0, &process_data); in TEST_F()
899 ASSERT_EQ(1u, process_data.phased_snapshots.size()); in TEST_F()
901 auto it = process_data.phased_snapshots.find(0); in TEST_F()
902 ASSERT_TRUE(it != process_data.phased_snapshots.end()); in TEST_F()
907 EXPECT_EQ(base::GetCurrentProcId(), process_data.process_id); in TEST_F()
944 ProcessDataSnapshot process_data; in TEST_F() local
945 ThreadData::Snapshot(0, &process_data); in TEST_F()
946 ExpectSimpleProcessData(process_data, kFunction, kMainThreadName, in TEST_F()
981 ProcessDataSnapshot process_data; in TEST_F() local
982 ThreadData::Snapshot(0, &process_data); in TEST_F()
984 ASSERT_EQ(1u, process_data.phased_snapshots.size()); in TEST_F()
985 auto it = process_data.phased_snapshots.find(0); in TEST_F()
986 ASSERT_TRUE(it != process_data.phased_snapshots.end()); in TEST_F()
1019 EXPECT_EQ(base::GetCurrentProcId(), process_data.process_id); in TEST_F()
1050 ProcessDataSnapshot process_data; in TEST_F() local
1051 ThreadData::Snapshot(0, &process_data); in TEST_F()
1052 ExpectSimpleProcessData(process_data, kFunction, kMainThreadName, in TEST_F()
1090 ProcessDataSnapshot process_data; in TEST_F() local
1091 ThreadData::Snapshot(0, &process_data); in TEST_F()
1092 ExpectSimpleProcessData(process_data, kFunction, kMainThreadName, in TEST_F()
1140 ProcessDataSnapshot process_data; in TEST_F() local
1141 ThreadData::Snapshot(0, &process_data); in TEST_F()
1143 ASSERT_EQ(1u, process_data.phased_snapshots.size()); in TEST_F()
1144 auto it = process_data.phased_snapshots.find(0); in TEST_F()
1145 ASSERT_TRUE(it != process_data.phased_snapshots.end()); in TEST_F()
1184 EXPECT_EQ(base::GetCurrentProcId(), process_data.process_id); in TEST_F()