Applications_GetPeakUserModeMemoryUsageInKB function
Header: #include <applibs/applications.h>
Gets the peak user-mode memory usage of your high-level application in kibibytes. This is the maximum amount of user memory used in the current session. It is returned as a raw value (in KiB). Values returned are approximate and may vary across operating system versions.
static size_t Applications_GetPeakUserModeMemoryUsageInKB(void);
Errors
Returns 0 if an error is encountered and sets errno
to the error value.
- EAGAIN: Information temporarily unavailable. The call may work if tried again later.
Any other errno
may also be specified; such errors aren't deterministic and there's no guarantee that the same behavior will be retained through system updates.
Return value
Returns the number of kibibytes of memory allocated, or 0 on error, in which case errno
is set to the error value.
प्रतिक्रिया
https://aka.ms/ContentUserFeedback.
जल्द आ रहा है: 2024 के दौरान हम सामग्री के लिए फीडबैक तंत्र के रूप में GitHub मुद्दों को चरणबद्ध तरीके से समाप्त कर देंगे और इसे एक नई फीडबैक प्रणाली से बदल देंगे. अधिक जानकारी के लिए, देखें:के लिए प्रतिक्रिया सबमिट करें और देखें