• Home
  • Raw
  • Download

Lines Matching refs:analyzer

83   std::unique_ptr<TraceAnalyzer> analyzer(  in TEST_F()  local
85 ASSERT_TRUE(analyzer.get()); in TEST_F()
89 analyzer->FindEvents(Query::Bool(true), &found); in TEST_F()
242 std::unique_ptr<TraceAnalyzer> analyzer( in TEST_F() local
244 ASSERT_TRUE(analyzer); in TEST_F()
245 analyzer->SetIgnoreMetadataEvents(true); in TEST_F()
251 analyzer->FindEvents(Query::EventCategory() == Query::String("cat1"), &found); in TEST_F()
256 analyzer->FindEvents(Query::EventArg("num") == Query::Int(2), &found); in TEST_F()
262 analyzer->FindEvents(Query::EventCategory() != Query::String("cat1"), &found); in TEST_F()
267 analyzer->FindEvents(Query::EventArg("num") != Query::Int(2), &found); in TEST_F()
274 analyzer->FindEvents(Query::EventArg("num") < Query::Int(2), &found); in TEST_F()
279 analyzer->FindEvents(Query::EventArg("num") <= Query::Int(2), &found); in TEST_F()
285 analyzer->FindEvents(Query::EventArg("num") > Query::Int(3), &found); in TEST_F()
290 analyzer->FindEvents(Query::EventArg("num") >= Query::Int(4), &found); in TEST_F()
295 analyzer->FindEvents(Query::EventName() != Query::String("name1") && in TEST_F()
301 analyzer->FindEvents(Query::EventName() == Query::String("name1") || in TEST_F()
308 analyzer->FindEvents(!(Query::EventName() == Query::String("name1") || in TEST_F()
333 std::unique_ptr<TraceAnalyzer> analyzer( in TEST_F() local
335 ASSERT_TRUE(analyzer.get()); in TEST_F()
342 analyzer->FindEvents(Query::EventArg("a") + Query::EventArg("b") == in TEST_F()
348 analyzer->FindEvents(Query::EventArg("a") - Query::EventArg("b") == in TEST_F()
354 analyzer->FindEvents(Query::EventArg("a") * Query::EventArg("b") == in TEST_F()
360 analyzer->FindEvents(Query::EventArg("a") / Query::EventArg("b") == in TEST_F()
366 analyzer->FindEvents(Query::EventArg("a") % Query::EventArg("b") == in TEST_F()
371 analyzer->FindEvents(-Query::EventArg("b") == Query::Int(-10), &found); in TEST_F()
388 std::unique_ptr<TraceAnalyzer> analyzer( in TEST_F() local
390 ASSERT_TRUE(analyzer.get()); in TEST_F()
391 analyzer->SetIgnoreMetadataEvents(true); in TEST_F()
395 analyzer->FindEvents(Query::EventName() == Query::Pattern("name?"), &found); in TEST_F()
400 analyzer->FindEvents(Query::EventName() == Query::Pattern("name*"), &found); in TEST_F()
406 analyzer->FindEvents(Query::EventName() != Query::Pattern("name*"), &found); in TEST_F()
438 std::unique_ptr<TraceAnalyzer> analyzer( in TEST_F() local
440 ASSERT_TRUE(analyzer.get()); in TEST_F()
441 analyzer->AssociateBeginEndEvents(); in TEST_F()
444 analyzer->FindEvents( in TEST_F()
480 std::unique_ptr<TraceAnalyzer> analyzer( in TEST_F() local
482 ASSERT_TRUE(analyzer.get()); in TEST_F()
483 analyzer->AssociateBeginEndEvents(); in TEST_F()
486 analyzer->FindEvents( in TEST_F()
512 std::unique_ptr<TraceAnalyzer> analyzer( in TEST_F() local
514 ASSERT_TRUE(analyzer.get()); in TEST_F()
515 analyzer->AssociateBeginEndEvents(); in TEST_F()
518 analyzer->FindEvents(Query::MatchBeginWithEnd(), &found); in TEST_F()
535 std::unique_ptr<TraceAnalyzer> analyzer( in TEST_F() local
537 ASSERT_TRUE(analyzer.get()); in TEST_F()
538 analyzer->AssociateBeginEndEvents(); in TEST_F()
541 analyzer->FindEvents(Query::MatchBeginName("name1"), &found); in TEST_F()
546 analyzer->MergeAssociatedEventArgs(); in TEST_F()
568 std::unique_ptr<TraceAnalyzer> analyzer( in TEST_F() local
570 ASSERT_TRUE(analyzer.get()); in TEST_F()
571 analyzer->AssociateAsyncBeginEndEvents(); in TEST_F()
574 analyzer->FindEvents(Query::MatchAsyncBeginWithNext(), &found); in TEST_F()
600 std::unique_ptr<TraceAnalyzer> analyzer( in TEST_F() local
602 ASSERT_TRUE(analyzer.get()); in TEST_F()
603 analyzer->AssociateAsyncBeginEndEvents(); in TEST_F()
606 analyzer->FindEvents(Query::MatchAsyncBeginWithNext(), &found); in TEST_F()
659 std::unique_ptr<TraceAnalyzer> analyzer( in TEST_F() local
661 ASSERT_TRUE(analyzer.get()); in TEST_F()
667 analyzer->AssociateEvents(begin, end, match); in TEST_F()
672 analyzer->FindEvents(Query::EventCategory() == Query::String("cat1") && in TEST_F()
677 analyzer->FindEvents(Query::EventCategory() == Query::String("cat1") && in TEST_F()
682 analyzer->FindEvents(Query::EventCategory() == Query::String("cat6") && in TEST_F()
687 analyzer->FindEvents(Query::EventCategory() == Query::String("cat2") && in TEST_F()
692 analyzer->FindEvents(Query::EventCategory() == Query::String("cat4") && in TEST_F()
697 analyzer->FindEvents(Query::EventCategory() == Query::String("cat3") && in TEST_F()
702 analyzer->FindEvents(Query::EventCategory() == Query::String("cat5") && in TEST_F()
940 std::unique_ptr<TraceAnalyzer> analyzer( in TEST_F() local
942 ASSERT_TRUE(analyzer.get()); in TEST_F()
945 analyzer->FindEvents(Query::EventName() == Query::String("name"), &events); in TEST_F()