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 inPAPI_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 aPAPI_dmem_info_tstructure and returns with the structure fields filled in. A value ofPAPI_EINVALin any field indicates an undefined parameter. π
π See also
go say hi to these other pages, iykyk:
PAPI_get_executable_infoPAPI_get_hardware_infoPAPI_get_optPAPI_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 ππ
π¦ where this page comes from
- nixos 26.05: papi 7.2.0
- nixpkgs unstable: papi 7.2.0
- opensuse-leap 16.0: papi-devel 7.2.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: papi-devel 7.2.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: papi-devel 7.2.0-160000.2.2 Β· BSD-3-Clause
- ubuntu resolute: libpapi-dev 7.2.0-2 Β· BSD-3-Clause
- ubuntu stonking: libpapi-dev 7.2.0-2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms