Home
last modified time | relevance | path

Searched refs:tvalStart (Results 1 - 1 of 1) sorted by relevance

/test/xts/acts/kernel_lite/time_posix/src/
H A DClockTimeTest.cpp266 struct timeval tvalStart = {0}; in HWTEST_F() local
270 int ret1 = gettimeofday(&tvalStart, &tzone); in HWTEST_F()
275 EXPECT_TRUE((tvalEnd.tv_sec - tvalStart.tv_sec) >= sleepSec) in HWTEST_F()
276 << "check end-start>=1 fail, start[" << tvalStart.tv_sec << "],end[" << tvalEnd.tv_sec << "]"; in HWTEST_F()
277 EXPECT_TRUE((tvalEnd.tv_sec - tvalStart.tv_sec) < sleepSec+1) in HWTEST_F()
278 << "check end-start<2 fail, start[" << tvalStart.tv_sec << "],end[" << tvalEnd.tv_sec << "]"; in HWTEST_F()
289 struct timeval tvalStart = {0}; in HWTEST_F() local
294 int ret2 = gettimeofday(&tvalStart, NULL); in HWTEST_F()
300 EXPECT_EQ(setSec, tvalStart.tv_sec) in HWTEST_F()
301 << "settimeofday set[" << setSec << "],get[" << tvalStart in HWTEST_F()
[all...]

Completed in 1 milliseconds