zephyr/tests/posix/common/src
Christopher Friedt 75b9292a30 tests: posix: nanosleep: round up to the nearest microsecond
Here, we include some addtional tests for durations that have
sub-microsecond components.

1ns => k_busy_wait(0). Round to 1us.
1us + 1ns => k_busy_wait(1us). Round to 2us.
1s + 1ns => k_busy_wait(1000000us). Round to 1000001us.
1s + 1us + 1ns => k_busy_wait(1000001us). Round to 1000002us.

Fixes #28483

Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>
2020-10-02 11:31:43 +02:00
..
clock.c tests: posix: common: move printk() out of k_usleep() tick alignment 2020-09-18 22:07:19 -04:00
main.c tests: posix: nanosleep: round up to the nearest microsecond 2020-10-02 11:31:43 +02:00
mqueue.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mutex.c tests: posix: common: Switch k_sleep() -> k_msleep(). 2020-05-08 17:31:45 +02:00
nanosleep.c tests: posix: nanosleep: round up to the nearest microsecond 2020-10-02 11:31:43 +02:00
posix_rwlock.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
pthread_key.c tests/posix/common: make 64-bit clean 2019-09-15 11:33:47 +08:00
pthread.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
semaphore.c
timer.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00