Acquire the current boot time.
#include <zircon/syscalls.h> zx_instant_boot_t zx_clock_get_boot(void);
zx_clock_get_boot() returns the current time in the system boot clock. This is the number of nanoseconds since the system was powered on, including any time spent in a suspended state. It is set to zero whenever the kernel is initialized.
None.
zx_clock_get_boot() returns the current boot time.
zx_clock_get_boot() cannot fail.