This site has been permanently archived. The content on this site was last updated in 2019.
gvr_clock_time_point
#include <gvr_types.h>
A monotonic system time representation.
Summary
On Android, this is equivalent to System.nanoTime(), or clock_gettime(CLOCK_MONOTONIC). If there is any doubt about how to get the current time for the current platform, simply use gvr_get_time_point_now().
Public attributes
monotonic_system_time_nanos
int64_t gvr_clock_time_point::monotonic_system_time_nanos
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[null,null,["Last updated 2024-10-09 UTC."],[[["`gvr_clock_time_point` represents a monotonic system time, similar to `System.nanoTime()` on Android or `clock_gettime(CLOCK_MONOTONIC)` on other platforms."],["To obtain the current time, it is recommended to utilize the `gvr_get_time_point_now()` function for platform compatibility."],["The structure includes a public attribute `monotonic_system_time_nanos` which stores the time in nanoseconds as an `int64_t`."]]],[]]