zx::clock
Summary
Inheritance
Inherits from:
zx::object< clock >
Public static attributes
|
TYPE = ZX_OBJ_TYPE_CLOCK
|
constexpr zx_obj_type_t
|
Public static attributes
TYPE
constexpr zx_obj_type_t TYPE = ZX_OBJ_TYPE_CLOCK
Public functions
clock
constexpr clock()=default
clock
clock(
zx_handle_t value
)
clock
clock(
clock && other
)
get_handle
zx_handle_t get_handle() const
read
zx_status_t read(
zx_time_t *now_out
)
Public static functions
get_details_mapped
zx_status_t get_details_mapped(
const void *addr,
zx_clock_details_v1_t *details_out
)
get_monotonic
time get_monotonic()
read_mapped
zx_status_t read_mapped(
const void *addr,
zx_time_t *out_now
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-18 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 2025-09-18 UTC."],[],[],null,[]]