TianoCore EDK2 master
Loading...
Searching...
No Matches
ReadTsc.c File Reference

Go to the source code of this file.

Functions

UINT64 EFIAPI AsmReadTsc (VOID)
 

Detailed Description

AsmReadTsc function

Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file ReadTsc.c.

Function Documentation

◆ AsmReadTsc()

UINT64 EFIAPI AsmReadTsc ( VOID  )

Reads the current value of Time Stamp Counter (TSC).

Reads and returns the current value of TSC. This function is only available on IA-32 and x64.

Returns
The current value of TSC

Definition at line 20 of file ReadTsc.c.