This site has been permanently archived. The content on this site was last updated in 2019.
Stay organized with collections
Save and categorize content based on your preferences.
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 Android's `System.nanoTime()` or `clock_gettime(CLOCK_MONOTONIC)`. It contains one public attribute: `monotonic_system_time_nanos`, an `int64_t` value representing time in nanoseconds. To obtain the current time, utilize `gvr_get_time_point_now()`. This structure offers a standardized way to access monotonic time across platforms.\n"],null,[]]