Lines Matching refs:logger

29   TimingLogger logger("StartEnd", true, false);  in TEST_F()  local
30 logger.StartTiming(split1name); in TEST_F()
31 logger.EndTiming(); // Ends split1. in TEST_F()
32 const auto& timings = logger.GetTimings(); in TEST_F()
44 TimingLogger logger("StartNewEnd", true, false); in TEST_F() local
45 logger.StartTiming(split1name); in TEST_F()
46 logger.NewTiming(split2name); in TEST_F()
47 logger.NewTiming(split3name); in TEST_F()
48 logger.EndTiming(); in TEST_F()
50 const auto& timings = logger.GetTimings(); in TEST_F()
70 TimingLogger logger("StartNewEndNested", true, false); in TEST_F() local
71 logger.StartTiming(name1); in TEST_F()
72 logger.NewTiming(name2); // Ends timing1. in TEST_F()
73 logger.StartTiming(name3); in TEST_F()
74 logger.StartTiming(name4); in TEST_F()
75 logger.NewTiming(name5); // Ends timing4. in TEST_F()
76 logger.EndTiming(); // Ends timing5. in TEST_F()
77 logger.EndTiming(); // Ends timing3. in TEST_F()
78 logger.EndTiming(); // Ends timing2. in TEST_F()
79 const auto& timings = logger.GetTimings(); in TEST_F()
81 size_t idx_1 = logger.FindTimingIndex(name1, 0); in TEST_F()
82 size_t idx_2 = logger.FindTimingIndex(name2, 0); in TEST_F()
83 size_t idx_3 = logger.FindTimingIndex(name3, 0); in TEST_F()
84 size_t idx_4 = logger.FindTimingIndex(name4, 0); in TEST_F()
85 size_t idx_5 = logger.FindTimingIndex(name5, 0); in TEST_F()
86 size_t idx_6 = logger.FindTimingIndex("Not found", 0); in TEST_F()
93 TimingLogger::TimingData data = logger.CalculateTimingData(); in TEST_F()
107 TimingLogger logger("Scoped", true, false); in TEST_F() local
109 TimingLogger::ScopedTiming outer(outersplit, &logger); in TEST_F()
111 TimingLogger::ScopedTiming inner1(innersplit1, &logger); in TEST_F()
113 TimingLogger::ScopedTiming innerinner1(innerinnersplit1, &logger); in TEST_F()
117 TimingLogger::ScopedTiming inner2(innersplit2, &logger); in TEST_F()
120 const size_t idx_outersplit = logger.FindTimingIndex(outersplit, 0); in TEST_F()
121 const size_t idx_innersplit1 = logger.FindTimingIndex(innersplit1, 0); in TEST_F()
122 const size_t idx_innerinnersplit1 = logger.FindTimingIndex(innerinnersplit1, 0); in TEST_F()
123 const size_t idx_innersplit2 = logger.FindTimingIndex(innersplit2, 0); in TEST_F()
124 const auto& timings = logger.GetTimings(); in TEST_F()
128 TimingLogger::TimingData data(logger.CalculateTimingData()); in TEST_F()
141 TimingLogger logger("Scoped", true, false); in TEST_F() local
142 logger.StartTiming(outersplit); in TEST_F()
144 TimingLogger::ScopedTiming inner(innersplit, &logger); in TEST_F()
145 logger.StartTiming(innerinnersplit1); in TEST_F()
146 logger.NewTiming(innerinnersplit2); // Ends innerinnersplit1. in TEST_F()
147 logger.EndTiming(); in TEST_F()
149 logger.EndTiming(); // Ends outersplit. in TEST_F()
150 const size_t idx_outersplit = logger.FindTimingIndex(outersplit, 0); in TEST_F()
151 const size_t idx_innersplit = logger.FindTimingIndex(innersplit, 0); in TEST_F()
152 const size_t idx_innerinnersplit1 = logger.FindTimingIndex(innerinnersplit1, 0); in TEST_F()
153 const size_t idx_innerinnersplit2 = logger.FindTimingIndex(innerinnersplit2, 0); in TEST_F()
154 const auto& timings = logger.GetTimings(); in TEST_F()