1BSON_GET_MONOTONIC_TIME(3) libbson BSON_GET_MONOTONIC_TIME(3)
2
3
4
5BSON Clock Abstraction
6
8 int64_t
9 bson_get_monotonic_time (void);
10 int
11 bson_gettimeofday (struct timeval *tv);
12
14 The clock abstraction in Libbson provides a cross-platform way to han‐
15 dle timeouts within the BSON library. It abstracts the differences in
16 implementations of gettimeofday() as well as providing a monotonic (in‐
17 crementing only) clock in microseconds.
18
20 MongoDB, Inc
21
23 2017-present, MongoDB, Inc
24
25
26
27
281.25.1 Nov 08, 2023 BSON_GET_MONOTONIC_TIME(3)