class clock

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

Inherits from object<clock>

Records

Functions

get_handle

public zx_handle_t get_handle()

Defined at line 72 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 74 of file ../../zircon/system/ulib/zx/include/lib/zx/clock.h

clock

public void clock(zx_handle_t value)

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

clock

public void clock(handle && h)

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

clock

public void clock(clock && other)

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

operator=

public clock & operator=(clock && other)

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

create

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

Defined at line 87 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 95 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 99 of file ../../zircon/system/ulib/zx/include/lib/zx/clock.h

update

public zx_status_t update(const update_args & args)

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

get_monotonic

public basic_time get_monotonic()

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

get_boot

public basic_time get_boot()

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