Lely core libraries 2.3.4
clock.h
Go to the documentation of this file.
1
22#ifndef LELY_IO2_SYS_CLOCK_H_
23#define LELY_IO2_SYS_CLOCK_H_
24
25#include <lely/io2/clock.h>
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31extern const struct io_clock_realtime {
32 const struct io_clock_vtbl *vptr;
34
36#define IO_CLOCK_REALTIME (&io_clock_realtime.vptr)
37
38extern const struct io_clock_monotonic {
39 const struct io_clock_vtbl *vptr;
41
43#define IO_CLOCK_MONOTONIC (&io_clock_monotonic.vptr)
44
45#ifdef __cplusplus
46}
47#endif
48
49#endif // !LELY_IO2_SYS_CLOCK_H_
This header file is part of the I/O library; it contains the abstract clock interface.