LLFIO  v2.00
llfio_v2_xxx::utils::process_memory_usage Struct Reference

Memory usage statistics for a process. More...

#include "utils.hpp"

Public Types

enum  bitfield__want : unsigned {
  total_address_space_in_use = 1U << 0U , total_address_space_paged_in = 1U << 1U , private_committed = 1U << 2U , private_paged_in = 1U << 3U ,
  private_committed_inaccurate = 1U << 8U , system_physical_memory_total = 1U << 16U , system_physical_memory_available = 1U << 17U , system_commit_charge_maximum = 1U << 18U ,
  system_commit_charge_available = 1U << 19U , this_process = 0x0000ffff , this_system = 0xffff0000 , all = 0xffffffff
}
 Fields wanted.
 

Public Attributes

uint64_t system_physical_memory_total {0}
 The total physical memory in this system.
 
uint64_t system_physical_memory_available {0}
 The physical memory in this system not containing dirty pages i.e. is currently used for file system caching, or unused.
 
uint64_t system_commit_charge_maximum {0}
 
uint64_t system_commit_charge_available {0}
 
size_t total_address_space_in_use {0}
 The total virtual address space in use.
 
size_t total_address_space_paged_in {0}
 
size_t private_committed {0}
 The total anonymous memory committed. Also known as "commit charge".
 
size_t private_paged_in {0}
 The total anonymous memory currently paged into the process. Always <= private_committed. Also known as "active anonymous pages".
 

Detailed Description

Memory usage statistics for a process.

Member Data Documentation

◆ system_commit_charge_available

uint64_t llfio_v2_xxx::utils::process_memory_usage::system_commit_charge_available {0}

The amount of commit charge remaining before the maximum. Subtract this from system_commit_charge_maximum to determine the amount of commit charge consumed by all processes in the system.

◆ system_commit_charge_maximum

uint64_t llfio_v2_xxx::utils::process_memory_usage::system_commit_charge_maximum {0}

The maximum amount of memory which can be committed by all processes. This is typically physical RAM plus swap files. Note that swap files can be added and removed over time.

◆ total_address_space_paged_in

size_t llfio_v2_xxx::utils::process_memory_usage::total_address_space_paged_in {0}

The total memory currently paged into the process. Always <= total_address_space_in_use. Also known as "working set", or "resident set size including shared".


The documentation for this struct was generated from the following file: