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

Go to the source code of this file.

Functions

UINT64 EFIAPI AsmReadPmc (IN UINT32 Index)
 

Detailed Description

AsmReadPmc function

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

Definition in file ReadPmc.c.

Function Documentation

◆ AsmReadPmc()

UINT64 EFIAPI AsmReadPmc ( IN UINT32  Index)

Reads the current value of a Performance Counter (PMC).

Reads and returns the current value of performance counter specified by Index. This function is only available on IA-32 and x64.

Parameters
IndexThe 32-bit Performance Counter index to read.
Returns
The value of the PMC specified by Index.

Definition at line 22 of file ReadPmc.c.