Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
#include <time.h>
#include <sys/timespec.h>
#include <kernel.h>
#include <errno.h>
#include "posix_types.h"
#include <posix/signal.h>
#include <syscalls/time.h>
Go to the source code of this file.
Macros | |
#define | CLOCK_REALTIME 1 |
#define | CLOCK_MONOTONIC 4 |
#define | NSEC_PER_MSEC (NSEC_PER_USEC * USEC_PER_MSEC) |
#define | TIMER_ABSTIME 4 |
Functions | |
int | clock_gettime (clockid_t clock_id, struct timespec *ts) |
int | clock_settime (clockid_t clock_id, const struct timespec *ts) |
int | timer_create (clockid_t clockId, struct sigevent *evp, timer_t *timerid) |
int | timer_delete (timer_t timerid) |
int | timer_gettime (timer_t timerid, struct itimerspec *its) |
int | timer_settime (timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue) |
int | nanosleep (const struct timespec *rqtp, struct timespec *rmtp) |
#define CLOCK_MONOTONIC 4 |
#define CLOCK_REALTIME 1 |
#define NSEC_PER_MSEC (NSEC_PER_USEC * USEC_PER_MSEC) |
#define TIMER_ABSTIME 4 |
int timer_delete | ( | timer_t | timerid | ) |
int timer_gettime | ( | timer_t | timerid, |
struct itimerspec * | its | ||
) |
int timer_settime | ( | timer_t | timerid, |
int | flags, | ||
const struct itimerspec * | value, | ||
struct itimerspec * | ovalue | ||
) |