1BSON_GET_MONOTONIC_TIME(3) libbson BSON_GET_MONOTONIC_TIME(3)
2
3
4
6 bson_get_monotonic_time - System Clock
7
8 BSON Clock Abstraction
9
11 int64_t
12 bson_get_monotonic_time (void);
13 int
14 bson_gettimeofday (struct timeval *tv,
15 struct timezone *tz);
16
18 The clock abstraction in Libbson provides a cross-platform way to han‐
19 dle timeouts within the BSON library. It abstracts the differences in
20 implementations of gettimeofday() as well as providing a monotonic
21 (incrementing only) clock in microseconds.
22
24 MongoDB, Inc
25
27 2017-present, MongoDB, Inc
28
29
30
31
321.17.4 Feb 04, 2021 BSON_GET_MONOTONIC_TIME(3)