Files
slimbootloader/BootloaderCommonPkg/Include/Library/TimeStampLib.h
T
Maurice Ma 328c862595 Add common interface for GetTimeStampFrequency
This patch added common API interface for GetTimeStampFrequency.
Since all current IA platforms have standard way to get the TSC
frequency, it is better to move it into common lib.

Signed-off-by: Maurice Ma <maurice.ma@intel.com>
2019-10-07 16:08:33 -07:00

36 lines
454 B
C

/** @file
Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef __TIME_STAMP_LIB_H__
#define __TIME_STAMP_LIB_H__
/**
Read current timestamp.
@return 64 bit current timestampe value.
**/
UINT64
EFIAPI
ReadTimeStamp (
VOID
);
/**
Get timestamp frequency in KHZ.
@return Timestamp frequency in KHZ.
**/
UINT32
EFIAPI
GetTimeStampFrequency (
VOID
);
#endif