LLVM 20.0.0git
Public Attributes | List of all members
rpmalloc_global_statistics_t Struct Reference

#include "Support/rpmalloc/rpmalloc.h"

Public Attributes

size_t mapped
 Current amount of virtual memory mapped, all of which might not have been committed (only if ENABLE_STATISTICS=1)
 
size_t mapped_peak
 Peak amount of virtual memory mapped, all of which might not have been committed (only if ENABLE_STATISTICS=1)
 
size_t cached
 Current amount of memory in global caches for small and medium sizes (<32KiB)
 
size_t huge_alloc
 Current amount of memory allocated in huge allocations, i.e larger than LARGE_SIZE_LIMIT which is 2MiB by default (only if ENABLE_STATISTICS=1)
 
size_t huge_alloc_peak
 Peak amount of memory allocated in huge allocations, i.e larger than LARGE_SIZE_LIMIT which is 2MiB by default (only if ENABLE_STATISTICS=1)
 
size_t mapped_total
 Total amount of memory mapped since initialization (only if ENABLE_STATISTICS=1)
 
size_t unmapped_total
 Total amount of memory unmapped since initialization (only if ENABLE_STATISTICS=1)
 

Detailed Description

Definition at line 75 of file rpmalloc.h.

Member Data Documentation

◆ cached

size_t rpmalloc_global_statistics_t::cached

Current amount of memory in global caches for small and medium sizes (<32KiB)

Definition at line 84 of file rpmalloc.h.

◆ huge_alloc

size_t rpmalloc_global_statistics_t::huge_alloc

Current amount of memory allocated in huge allocations, i.e larger than LARGE_SIZE_LIMIT which is 2MiB by default (only if ENABLE_STATISTICS=1)

Definition at line 87 of file rpmalloc.h.

◆ huge_alloc_peak

size_t rpmalloc_global_statistics_t::huge_alloc_peak

Peak amount of memory allocated in huge allocations, i.e larger than LARGE_SIZE_LIMIT which is 2MiB by default (only if ENABLE_STATISTICS=1)

Definition at line 90 of file rpmalloc.h.

◆ mapped

size_t rpmalloc_global_statistics_t::mapped

Current amount of virtual memory mapped, all of which might not have been committed (only if ENABLE_STATISTICS=1)

Definition at line 78 of file rpmalloc.h.

◆ mapped_peak

size_t rpmalloc_global_statistics_t::mapped_peak

Peak amount of virtual memory mapped, all of which might not have been committed (only if ENABLE_STATISTICS=1)

Definition at line 81 of file rpmalloc.h.

◆ mapped_total

size_t rpmalloc_global_statistics_t::mapped_total

Total amount of memory mapped since initialization (only if ENABLE_STATISTICS=1)

Definition at line 93 of file rpmalloc.h.

◆ unmapped_total

size_t rpmalloc_global_statistics_t::unmapped_total

Total amount of memory unmapped since initialization (only if ENABLE_STATISTICS=1)

Definition at line 96 of file rpmalloc.h.


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