Vystem 0.2
This commit is contained in:
@@ -85,6 +85,9 @@ This role of memory allocations is lost once Pez is initialized.
|
||||
The Page subsystem provide the following functions regarding memory statistics:
|
||||
- `sh_uint64 sh_page_get_physical_memory_amount_pages()`: return amount of physical memory installed in pages
|
||||
- `sh_uint64 sh_page_get_physical_memory_amount_bytes()`: return amount of physical memory installed in bytes
|
||||
- `sh_uint64 sh_page_get_installed_memory_bytes()`: return the amount of physical memory in pages counted as free when parsing the memory map
|
||||
- `SH_STATUS sh_page_get_memory_stats(sh_page_MEM_STATS *mem_stats)`: provide a extensive amount of statistics on physical memory.
|
||||
|
||||
For a more human-readable output, the function `sh_log_mem_stats` can be used.
|
||||
For a more human-readable output, the function `sh_log_mem_stats` can be used for debugging purposes. It doesn't rely on Pez.
|
||||
|
||||
When Pez is ready, please uses instead the DevS memory subsystem endpoint, it's faster and refined.
|
||||
|
||||
Reference in New Issue
Block a user