Lines Matching full:ns
136 * @p ns (in nanoseconds).
138 * @note The time specified by @p s and @p ns is assumed to be absolute (i.e. a time-point)
146 * @param ns Partial lower bound for yielded time (in nanoseconds)
149 uint32_t ns) in common_lower_bound_check() argument
157 struct timespec req = {s, ns}; in common_lower_bound_check()
167 zassert_equal(req.tv_nsec, ns, "actual: %d expected: %d", req.tv_nsec, ns); in common_lower_bound_check()
185 exp_ns = (uint64_t)s * NSEC_PER_SEC + ns; in common_lower_bound_check()
205 /* sleep for 1ns */ in ZTEST()
208 /* sleep for 1us + 1ns */ in ZTEST()
211 /* sleep for 500000000ns */ in ZTEST()
217 /* sleep for 1s + 1ns */ in ZTEST()
220 /* sleep for 1s + 1us + 1ns */ in ZTEST()
232 /* until 1s + 1ns past the reference time */ in ZTEST()
240 /* until 1s + 500000000ns past the reference time */ in ZTEST()
248 /* until 2s + 1ns past the reference time */ in ZTEST()
252 /* until 2s + 1us + 1ns past reference time */ in ZTEST()
260 /* until 1s + 1ns past the reference time */ in ZTEST()
268 /* until 1s + 500000000ns past the reference time */ in ZTEST()
276 /* until 2s + 1ns past the reference time */ in ZTEST()
280 /* until 2s + 1us + 1ns past the reference time */ in ZTEST()