PAPI_get_dmem_info(3)

πŸ’– PAPI_get_dmem_info πŸ’–

okay so welcome to the PAPI_get_dmem_info(3) page from the PAPI manual, bestie β€” this is your group-chat cheat sheet for getting information about the dynamic memory usage of the current program. the way this function is lowkey iconic? periodt. βœ¨πŸ’…


🌸 NAME 🌸

PAPI_get_dmem_info β€” get information about the dynamic memory usage of the current program. 🫢


πŸ“œ SYNOPSIS πŸ“œ

ngl, the synopsis is right here and then it literally rolls into the detailed description below β€” keep scrolling, bestie. πŸ‘‡


✨ 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. this is the lil container that gets the info, slay. πŸ’–

πŸ”₯ Return values

vibe check on the error codes, fr fr:

  • 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

⚠️ Linux-only, no cap: this function is only implemented for the Linux operating system. It 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

go say hi to these other pages, iykyk:

  • 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. so don’t @ me, lol. πŸŽ€


okay that’s the whole page, bestie β€” PAPI version 7.2.0.0, dated Wed Jun 25 2025 19:30:48. mwah πŸ’‹πŸ’–