LLFIO v2.00
Loading...
Searching...
No Matches
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. More...
 

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 Enumeration Documentation

◆ bitfield__want

Fields wanted.

203 {
206 private_committed = 1U << 2U,
207 private_paged_in = 1U << 3U,
208
209 private_committed_inaccurate = 1U << 8U,
210
215
216 this_process = 0x0000ffff, //
217 this_system = 0xffff0000, //
218 all = 0xffffffff //
219 } QUICKCPPLIB_BITFIELD_END(want)
size_t private_paged_in
The total anonymous memory currently paged into the process. Always <= private_committed....
Definition utils.hpp:242
uint64_t system_physical_memory_total
The total physical memory in this system.
Definition utils.hpp:222
uint64_t system_commit_charge_available
Definition utils.hpp:231
uint64_t system_commit_charge_maximum
Definition utils.hpp:228
size_t private_committed
The total anonymous memory committed. Also known as "commit charge".
Definition utils.hpp:240
uint64_t system_physical_memory_available
The physical memory in this system not containing dirty pages i.e. is currently used for file system ...
Definition utils.hpp:224
size_t total_address_space_paged_in
Definition utils.hpp:237
size_t total_address_space_in_use
The total virtual address space in use.
Definition utils.hpp:234

Member Data Documentation

◆ private_committed

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

The total anonymous memory committed. Also known as "commit charge".

240{0};

◆ private_paged_in

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

The total anonymous memory currently paged into the process. Always <= private_committed. Also known as "active anonymous pages".

242{0};

◆ 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.

231{0};

◆ 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.

228{0};

◆ system_physical_memory_available

uint64_t llfio_v2_xxx::utils::process_memory_usage::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.

224{0};

◆ system_physical_memory_total

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

The total physical memory in this system.

222{0};

◆ total_address_space_in_use

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

The total virtual address space in use.

234{0};

◆ 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".

237{0};

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