Searched refs:timerid (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/tests/posix/common/src/ |
D | timer.c | 24 static timer_t timerid = -1; variable 46 zassert_ok(timer_create(clock_id, &sig, &timerid)); in test_timer() 52 zassert_ok(timer_settime(timerid, 0, &value, &ovalue)); in test_timer() 55 zassert_ok(timer_gettime(timerid, &value)); in test_timer() 112 zassert_ok(timer_create(CLOCK_MONOTONIC, &sig, &timerid)); in ZTEST() 119 zassert_ok(timer_settime(timerid, 0, &value, NULL)); in ZTEST() 122 zassert_equal(timer_getoverrun(timerid), 4, "Number of overruns is incorrect"); in ZTEST() 135 zassert_ok(timer_create(CLOCK_MONOTONIC, &sig, &timerid)); in ZTEST() 142 zassert_ok(timer_settime(timerid, 0, &value, NULL)); in ZTEST() 152 if (timerid != -1) { in after() [all …]
|
/Zephyr-latest/include/zephyr/posix/ |
D | time.h | 98 int timer_create(clockid_t clockId, struct sigevent *evp, timer_t *timerid); 99 int timer_delete(timer_t timerid); 101 int timer_gettime(timer_t timerid, struct itimerspec *its); 102 int timer_settime(timer_t timerid, int flags, const struct itimerspec *value, 104 int timer_getoverrun(timer_t timerid);
|
/Zephyr-latest/lib/posix/options/ |
D | timer.c | 112 int timer_create(clockid_t clockid, struct sigevent *evp, timer_t *timerid) in timer_create() argument 119 if (evp == NULL || timerid == NULL) { in timer_create() 189 *timerid = (timer_t)timer; in timer_create() 204 int timer_gettime(timer_t timerid, struct itimerspec *its) in timer_gettime() argument 206 struct timer_obj *timer = (struct timer_obj *)timerid; in timer_gettime() 238 int timer_settime(timer_t timerid, int flags, const struct itimerspec *value, in timer_settime() argument 241 struct timer_obj *timer = (struct timer_obj *) timerid; in timer_settime() 255 timer_gettime(timerid, ovalue); in timer_settime() 299 int timer_getoverrun(timer_t timerid) in timer_getoverrun() argument 301 struct timer_obj *timer = (struct timer_obj *) timerid; in timer_getoverrun() [all …]
|