class clock

Defined at line 17 of file ../../zircon/system/ulib/zx/include/lib/zx/clock.h

Inherits from object<clock>

Members

Records

Functions

get_handle

public zx_handle_t get_handle()

Defined at line 73 of file ../../zircon/system/ulib/zx/include/lib/zx/clock.h

TODO(johngro) : remove this alias once we remove the static get method from this class. This static get method will no longer be needed once UTC leaves the kernel, and "thread" time becomes fetch-able only from a get_info request. At that point in time, zx_clock_get will disappear and the only kernel provided sources of time will be get_monotonic and ticks.

clock

public void clock()

Defined at line 75 of file ../../zircon/system/ulib/zx/include/lib/zx/clock.h

clock

public void clock(zx_handle_t value)

Defined at line 77 of file ../../zircon/system/ulib/zx/include/lib/zx/clock.h

clock

public void clock(handle && h)

Defined at line 79 of file ../../zircon/system/ulib/zx/include/lib/zx/clock.h

clock

public void clock(clock && other)

Defined at line 81 of file ../../zircon/system/ulib/zx/include/lib/zx/clock.h

operator=

public clock & operator=(clock && other)

Defined at line 83 of file ../../zircon/system/ulib/zx/include/lib/zx/clock.h

create

public static zx_status_t create(uint64_t options, const zx_clock_create_args_v1 * args, clock * result)

Defined at line 88 of file ../../zircon/system/ulib/zx/include/lib/zx/clock.h

read

public zx_status_t read(zx_time_t * now_out)

Defined at line 96 of file ../../zircon/system/ulib/zx/include/lib/zx/clock.h

get_details

public zx_status_t get_details(zx_clock_details_v1_t * details_out)

Defined at line 100 of file ../../zircon/system/ulib/zx/include/lib/zx/clock.h

update

public zx_status_t update(const update_args & args)

Defined at line 104 of file ../../zircon/system/ulib/zx/include/lib/zx/clock.h

get_monotonic

public static basic_time get_monotonic()

Defined at line 109 of file ../../zircon/system/ulib/zx/include/lib/zx/clock.h

get_boot

public static basic_time get_boot()

Defined at line 110 of file ../../zircon/system/ulib/zx/include/lib/zx/clock.h

read_mapped

public static zx_status_t read_mapped(const void * addr, zx_time_t * out_now)

Defined at line 112 of file ../../zircon/system/ulib/zx/include/lib/zx/clock.h

get_details_mapped

public static zx_status_t get_details_mapped(const void * addr, zx_clock_details_v1_t * details_out)

Defined at line 116 of file ../../zircon/system/ulib/zx/include/lib/zx/clock.h