---
name: "PAPIF_get_clockrate"
section: "3"
platform: "linux"
package: "libpapi-dev"
version: "7.1.0-5+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/PAPIF_get_clockrate"
---

# PAPIF\_get\_clockrate(3)

Get the clockrate in MHz for the current cpu.

## NAME

PAPIF\_get\_clockrate - Get the clockrate in MHz for the current cpu.

## SYNOPSIS

## Detailed Description

**Fortran Prototype:**

\#include 'fpapi.h' \
\
  **PAPIF\_set\_domain( C\_INT cr )**

**Note**

This is a Fortran only interface that returns a value from the **PAPI\_get\_opt** call.

**See also**

**PAPI\_get\_opt**

## Author

Generated automatically by Doxygen for PAPI from the source code.
