blob: cb95553cc996a23093085dea7b3f7382b0f4043e [file]
// Copyright 2026 The Fuchsia Authors
//
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
#include <platform/timer.h>
extern "C" {
zx_instant_mono_ticks_t cpp_timer_current_mono_ticks();
zx_instant_boot_ticks_t cpp_timer_current_boot_ticks();
zx_instant_mono_t cpp_current_mono_time();
zx_instant_boot_t cpp_current_boot_time();
zx_instant_mono_ticks_t cpp_timer_current_mono_ticks() { return timer_current_mono_ticks(); }
zx_instant_boot_ticks_t cpp_timer_current_boot_ticks() { return timer_current_boot_ticks(); }
zx_instant_mono_t cpp_current_mono_time() { return current_mono_time(); }
zx_instant_boot_t cpp_current_boot_time() { return current_boot_time(); }
} // extern "C"