Lines Matching refs:time2

26 	uint64_t time2, time1 = posix_get_hw_cycle();  in ZTEST()  local
30 time2 = posix_get_hw_cycle(); in ZTEST()
31 zassert_true(time2 - time1 == wait_times[i], in ZTEST()
34 time2, time1, wait_times[i]); in ZTEST()
35 time1 = time2; in ZTEST()
40 time2 = posix_get_hw_cycle(); in ZTEST()
41 zassert_true(time2 - time1 == wait_times[i], in ZTEST()
44 time2, time1, wait_times[i]); in ZTEST()
45 time1 = time2; in ZTEST()
111 uint64_t time2, time1; in ZTEST() local
125 time2 = posix_get_hw_cycle(); in ZTEST()
127 zassert_true(time2 - time1 == TWO_TICKS_TIME + WASTED_TIME, in ZTEST()
130 time2, time1, TWO_TICKS_TIME + WASTED_TIME); in ZTEST()
143 time2 = posix_get_hw_cycle(); in ZTEST()
145 zassert_true(time2 - time1 == TWO_AND_HALF_TICKS, in ZTEST()
148 time2, time1, TWO_AND_HALF_TICKS); in ZTEST()
163 time2 = posix_get_hw_cycle(); in ZTEST()
165 zassert_true(time2 - time1 == TWO_TICKS_TIME + WASTED_TIME + 1, in ZTEST()
168 time2, time1, TWO_TICKS_TIME + WASTED_TIME + 1); in ZTEST()
183 time2 = posix_get_hw_cycle(); in ZTEST()
185 zassert_true(time2 - time1 == TWO_AND_HALF_TICKS + WASTED_TIME, in ZTEST()
188 time2, time1, TWO_AND_HALF_TICKS + WASTED_TIME); in ZTEST()
222 uint64_t time2, time1; in ZTEST() local
234 time2 = posix_get_hw_cycle(); in ZTEST()
236 zassert_true(time2 - time1 == ONE_TICK_TIME + WASTED_TIME, in ZTEST()
239 time2, time1, ONE_TICK_TIME); in ZTEST()
250 time2 = posix_get_hw_cycle(); in ZTEST()
252 zassert_true(time2 - time1 == ONE_AND_HALF_TICKS, in ZTEST()
255 time2, time1, ONE_TICK_TIME); in ZTEST()
267 time2 = posix_get_hw_cycle(); in ZTEST()
269 zassert_true(time2 - time1 == ONE_TICK_TIME + 1 + WASTED_TIME, in ZTEST()
272 time2, time1, ONE_TICK_TIME); in ZTEST()
283 time2 = posix_get_hw_cycle(); in ZTEST()
285 zassert_true(time2 - time1 == ONE_AND_HALF_TICKS + WASTED_TIME, in ZTEST()
288 time2, time1, ONE_TICK_TIME); in ZTEST()