dis_memory_usage(7rheolef)
π dis_memory_usage β bestie edition π
okay so real talk: this is the rheolef-7.2 page about memory used in distributed environment. yes, distributed. yes, multiple processes. yes, it's giving "my RAM is fighting for its life" energy. let's get into it π«Ά
β¨ SYNOPSIS β¨
size_t seq_memory_usage();
size_t dis_memory_usage();
size_t seq_peak_memory_usage();
size_t dis_peak_memory_usage();
size_t memory_size();
five little functions, all of them handing you back a size_t, all of them nosy about memory. iconic behavior honestly π
πΈ DESCRIPTION πΈ
π seq_memory_usage
returns the current resident set size (that's physical memory use, the real deal, not the vibes) measured in bytes. and if your OS is being mysterious and won't tell you? you get zero. not an error, not a crash, just a sad little zero π
π¦ dis_memory_usage
returns the accumulated memory usage for all processes linked together via the default communicator. so like, everybody in the group chat, added up. the whole squad's RAM consumption, one number π
π seq_peak_memory_usage
returns the peak β as in the maximum so far β resident set size (physical memory use again) measured in bytes. or zero if the value cannot be determined on this OS. this is the "highest my memory has ever been, no cap" function π
β dis_peak_memory_usage
returns the accumulated peak memory usage for all processes linked together via the default communicator. peak, but for the whole group. the group's worst moment, collectively, forever remembered π
π memory_size
returns the size of physical memory (RAM) in bytes associated to the given process. like, how much RAM does this process get to claim as its own. main character allocation energy fr fr
π§ IMPLEMENTATION π§
this documentation has been generated from file linalg/lib/dis_memory_usage.h. that's the source of truth bestie, go look at it if you want the lore π
π AUTHOR π
Pierre Saramito <Pierre.Saramito@imag.fr> β the legend himself, we stan π«‘
π COPYRIGHT π
Copyright (C) 2000-2018 Pierre Saramito <Pierre.Saramito@imag.fr>
GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. like, none. zero. the vibes are free but the guarantees are not included π
and that's the whole page bestie, no notes β¨ this was rheolef Version 7.2, page dis_memory_usage(7rheolef), mwah π go check your memory usage, stay hydrated, and remember: zero might just mean your OS is being shy π§ββοΈ
π¦ where this page comes from
- debian trixie: librheolef-dev 7.2-4 Β· GPL-3.0-or-later
- ubuntu noble: librheolef-dev 7.2-3build5 Β· GPL-3.0-or-later
- ubuntu questing: librheolef-dev 7.2-4build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms