blob: 722d7e3772747ce122bb49a3cb4eede53bf0a50d [file] [log] [blame]
// Copyright 2022 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
#include <lib/arch/ticks.h>
#include <zircon/compiler.h>
// Definitions of some timestamps which will be recorded after physboot runs, as
// the kernel boots, which eventually get exported as kcounters to allow metrics
// on how long it takes to get through various portions of early boot.
// Samples taken at the first instruction in the kernel.
extern arch::EarlyTicks kernel_entry_ticks;
// ... and at the entry to normal virtual-space kernel code.
extern arch::EarlyTicks kernel_virtual_entry_ticks;