Lines Matching refs:kTimerInterval
140 const uint32_t kTimerInterval = 10; in TestOneTimer() local
152 timer.Start(kTimerInterval); in TestOneTimer()
161 sNow += kTimerInterval; in TestOneTimer()
175 sNow = 0 - (kTimerInterval - 2); in TestOneTimer()
176 timer.Start(kTimerInterval); in TestOneTimer()
181 VerifyOrQuit(sPlatT0 == 0 - (kTimerInterval - 2) && sPlatDt == 10, "Start params Failed."); in TestOneTimer()
185 sNow += kTimerInterval; in TestOneTimer()
200 timer.Start(kTimerInterval); in TestOneTimer()
209 sNow += kTimerInterval + 5; in TestOneTimer()
224 timer.Start(kTimerInterval); in TestOneTimer()
233 sNow += kTimerInterval - 2; in TestOneTimer()
243 sNow += kTimerInterval; in TestOneTimer()
266 const uint32_t kTimerInterval = 10; in TestTwoTimers() local
279 timer1.Start(kTimerInterval); in TestTwoTimers()
284 VerifyOrQuit(sPlatT0 == kTimeT0 && sPlatDt == kTimerInterval, "Start params Failed."); in TestTwoTimers()
289 sNow += kTimerInterval; in TestTwoTimers()
291 timer2.Start(kTimerInterval); in TestTwoTimers()
296 VerifyOrQuit(sPlatT0 == kTimeT0 && sPlatDt == kTimerInterval, "Start params Failed."); in TestTwoTimers()
307 VerifyOrQuit(sPlatT0 == sNow && sPlatDt == kTimerInterval, "Start params Failed."); in TestTwoTimers()
312 sNow += kTimerInterval; in TestTwoTimers()
331 timer1.Start(kTimerInterval); in TestTwoTimers()
336 VerifyOrQuit(sPlatT0 == kTimeT0 && sPlatDt == kTimerInterval, "Start params Failed."); in TestTwoTimers()
341 sNow += kTimerInterval; in TestTwoTimers()
343 timer2.StartAt(TimeMilli(kTimeT0), kTimerInterval - 2); // Timer 2 is even before timer 1 in TestTwoTimers()
378 timer1.Start(kTimerInterval); in TestTwoTimers()
383 VerifyOrQuit(sPlatT0 == kTimeT0 && sPlatDt == kTimerInterval, "Start params Failed."); in TestTwoTimers()
388 sNow += kTimerInterval + 5; in TestTwoTimers()
440 const uint32_t kTimerInterval[kNumTimers] = { in TenTimers() local
509 timers[i]->Start(kTimerInterval[i]); in TenTimers()
518 VerifyOrQuit(sPlatDt == kTimerInterval[5], "TestTenTimer: Start params Failed."); in TenTimers()