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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["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`."]]],[]]