(git:2bb242e)
Loading...
Searching...
No Matches
machine_memory.c File Reference
#include <stdint.h>

Go to the source code of this file.

Functions

void m_memory_details_c (int64_t *total, int64_t *free_bytes, int64_t *likely_free)
 Physical memory where /proc/meminfo does not exist (macOS), in bytes: the total, the free pages, and the pages likely to be allocatable (free, inactive and purgeable, which the kernel reclaims on demand). All three stay zero where the system offers no such query, which m_memory_details reads as "not available".

Function Documentation

◆ m_memory_details_c()

void m_memory_details_c ( int64_t * total,
int64_t * free_bytes,
int64_t * likely_free )

Physical memory where /proc/meminfo does not exist (macOS), in bytes: the total, the free pages, and the pages likely to be allocatable (free, inactive and purgeable, which the kernel reclaims on demand). All three stay zero where the system offers no such query, which m_memory_details reads as "not available".

Author
Teodoro Laino

Definition at line 26 of file machine_memory.c.

Here is the caller graph for this function: