Home | History | Annotate | Download | only in message_loop

Lines Matching refs:Time

79 // This function records the time when Run was called in a Time object, which is
82 void RecordRunTimeFunc(Time* run_time, int* quit_counter) {
83 *run_time = Time::Now();
85 // Cause our Run function to take some time to execute. As a result we can
86 // count on subsequent RecordRunTimeFunc()s running at a future time,
132 Time run_time;
138 Time time_before_run = Time::Now();
140 Time time_after_run = Time::Now();
152 Time run_time1, run_time2;
180 // posted at the exact same time. It would be nice if the API allowed us to
181 // specify the desired run time.
186 Time run_time1, run_time2;
206 // normal tasks take a long time to run.
211 Time run_time;
219 Time time_before_run = Time::Now();
221 Time time_after_run = Time::Now();
239 Time run_time1, run_time2;
266 Time run_time1, run_time2;
277 Time start_time = Time::Now();
282 // Ensure that we ran in far less time than the slower timer.
283 TimeDelta total_time = Time::Now() - start_time;
286 // In case both timers somehow run at nearly the same time, sleep a little