---
name: "PAPIF_get_granularity"
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_granularity"
---

# PAPIF\_get\_granularity(3)

Get the granularity setting for the specified EventSet.

## NAME

PAPIF\_get\_granularity - Get the granularity setting for the specified EventSet.

## SYNOPSIS

## Detailed Description

**Fortran Prototype:**

\#include 'fpapi.h' \
\
  **PAPIF\_get\_granularity( C\_INT eventset, C\_INT granularity, C\_INT mode, C\_INT check )**

**See also**

**PAPI\_get\_opt**

## Author

Generated automatically by Doxygen for PAPI from the source code.
