Lines Matching refs:tstamp
45 uint32_t tstamp; in ZTEST() local
67 tstamp = k_uptime_get_32(); in ZTEST()
69 zassert_true(k_uptime_get_32() - tstamp <= FUZZ, ""); in ZTEST()
81 tstamp = k_uptime_get_32(); in ZTEST()
83 tstamp = k_uptime_get_32() - tstamp; in ZTEST()
84 zassert_true(tstamp >= 30U && tstamp <= 30 + FUZZ * 2, "tstamp %d", in ZTEST()
85 tstamp); in ZTEST()
92 tstamp = k_uptime_get_32(); in ZTEST()
94 tstamp = k_uptime_get_32() - tstamp; in ZTEST()
95 zassert_true(tstamp <= FUZZ, ""); in ZTEST()
110 tstamp = k_uptime_get_32(); in ZTEST()
112 zassert_true(k_uptime_get_32() - tstamp <= FUZZ, ""); in ZTEST()
125 tstamp = k_uptime_get_32(); in ZTEST()
127 zassert_true(k_uptime_get_32() - tstamp < 100, ""); in ZTEST()
147 tstamp = k_uptime_get_32(); in ZTEST()
149 zassert_true(k_uptime_get_32() - tstamp < 100, ""); in ZTEST()
163 tstamp = k_uptime_get_32(); in ZTEST()
165 zassert_true(k_uptime_get_32() - tstamp <= FUZZ, ""); in ZTEST()