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

# PAPI\_get\_dmem\_info(3)

Get information about the dynamic memory usage of the current program.

## NAME

PAPI\_get\_dmem\_info - Get information about the dynamic memory usage of the current program.

## SYNOPSIS

## Detailed Description

**C Prototype:**

\#include \<**papi.h**\> \
\
  int **PAPI\_get\_dmem\_info( PAPI\_dmem\_info\_t \*dest )**;

**Parameters**

*dest* structure to be filled in **PAPI\_dmem\_info\_t**

**Return values**

*PAPI\_ECMP* The function is not implemented for the current component. \
 *PAPI\_EINVAL* Any value in the structure or array may be undefined as indicated by this error value. \
 *PAPI\_SYS* A system error occurred.

**Note**

This function is only implemented for the Linux operating system. This function takes a pointer to a **PAPI\_dmem\_info\_t** structure and returns with the structure fields filled in. A value of PAPI\_EINVAL in any field indicates an undefined parameter.

**See also**

**PAPI\_get\_executable\_info** **PAPI\_get\_hardware\_info** **PAPI\_get\_opt** **PAPI\_library\_init**

## Author

Generated automatically by Doxygen for PAPI from the source code.
