Home | History | Annotate | Download | only in system

Lines Matching refs:elapsed

41                      MojoDeadline* elapsed) {
48 *elapsed = elapsed_;
64 MojoDeadline elapsed;
68 elapsed = stopwatch.Elapsed();
75 elapsed_ = elapsed;
94 MojoDeadline elapsed;
103 thread.WaitUntilDone(&result, &context, &elapsed);
106 EXPECT_LT(elapsed, test::EpsilonDeadline());
114 thread.WaitUntilDone(&result, &context, &elapsed);
117 EXPECT_LT(elapsed, test::EpsilonDeadline());
126 thread.WaitUntilDone(&result, &context, &elapsed);
129 EXPECT_GT(elapsed, (2 - 1) * test::EpsilonDeadline());
130 EXPECT_LT(elapsed, (2 + 1) * test::EpsilonDeadline());
139 thread.WaitUntilDone(&result, &context, &elapsed);
142 EXPECT_GT(elapsed, (5 - 1) * test::EpsilonDeadline());
143 EXPECT_LT(elapsed, (5 + 1) * test::EpsilonDeadline());
150 thread.WaitUntilDone(&result, &context, &elapsed);
153 EXPECT_GT(elapsed, (2 - 1) * test::EpsilonDeadline());
154 EXPECT_LT(elapsed, (2 + 1) * test::EpsilonDeadline());
164 thread.WaitUntilDone(&result, &context, &elapsed);
167 EXPECT_LT(elapsed, test::EpsilonDeadline());
175 thread.WaitUntilDone(&result, &context, &elapsed);
178 EXPECT_LT(elapsed, test::EpsilonDeadline());
187 thread.WaitUntilDone(&result, &context, &elapsed);
190 EXPECT_GT(elapsed, (2 - 1) * test::EpsilonDeadline());
191 EXPECT_LT(elapsed, (2 + 1) * test::EpsilonDeadline());
200 thread.WaitUntilDone(&result, &context, &elapsed);
203 EXPECT_GT(elapsed, (5 - 1) * test::EpsilonDeadline());
204 EXPECT_LT(elapsed, (5 + 1) * test::EpsilonDeadline());
210 MojoDeadline elapsed;
218 elapsed = stopwatch.Elapsed();
219 EXPECT_LT(elapsed, test::EpsilonDeadline());
226 elapsed = stopwatch.Elapsed();
227 EXPECT_GT(elapsed, (2 - 1) * test::EpsilonDeadline());
228 EXPECT_LT(elapsed, (2 + 1) * test::EpsilonDeadline());
235 elapsed = stopwatch.Elapsed();
236 EXPECT_GT(elapsed, (5 - 1) * test::EpsilonDeadline());
237 EXPECT_LT(elapsed, (5 + 1) * test::EpsilonDeadline());
245 MojoDeadline elapsed;
252 thread.WaitUntilDone(&result, &context, &elapsed);
255 EXPECT_LT(elapsed, test::EpsilonDeadline());
263 thread.WaitUntilDone(&result, &context, &elapsed);
266 EXPECT_LT(elapsed, test::EpsilonDeadline());
275 thread.WaitUntilDone(&result, &context, &elapsed);
278 EXPECT_LT(elapsed, test::EpsilonDeadline());
288 thread.WaitUntilDone(&result, &context, &elapsed);
291 EXPECT_GT(elapsed, (1 - 1) * test::EpsilonDeadline());
292 EXPECT_LT(elapsed, (1 + 1) * test::EpsilonDeadline());