SYNOPSIS

#include <bson.h>

int64_t
bson_get_monotonic_time (void);

DESCRIPTION

The bson_get_monotonic_time() function shall return the system monotonic clock if available, in microseconds. If a monotonic clock is not available, the realtime clock may be used.

RETURN VALUE

The monotonic clock in microseconds.

ERRORS

No errors are defined.

AUTHORS

This page was written by MongoDB, Inc.