struct AttributionCounts
Defined at line 121 of file ../../zircon/kernel/vm/include/vm/attribution.h
Structure to store counts of memory attributed to VMOs or portions thereof.
These counts can be accumulated to support attributing memory across composite objects such as
address spaces or processes.
The `scaled_bytes` fields may contain a fractional number of bytes, and the structure stores the
fractional counts in fixed point with 63 bits of precision.
Public Members
size_t uncompressed_bytes
size_t compressed_bytes
size_t private_uncompressed_bytes
size_t private_compressed_bytes
FractionalBytes scaled_uncompressed_bytes
FractionalBytes scaled_compressed_bytes
Public Methods
size_t total_bytes ()
Defined at line 122 of file ../../zircon/kernel/vm/include/vm/attribution.h
size_t total_private_bytes ()
Defined at line 123 of file ../../zircon/kernel/vm/include/vm/attribution.h
FractionalBytes total_scaled_bytes ()
Defined at line 126 of file ../../zircon/kernel/vm/include/vm/attribution.h
AttributionCounts & operator+= (const AttributionCounts & other)
Defined at line 130 of file ../../zircon/kernel/vm/include/vm/attribution.h
bool operator== (const AttributionCounts & other)
Defined at line 140 of file ../../zircon/kernel/vm/include/vm/attribution.h
bool operator!= (const AttributionCounts & other)
Defined at line 148 of file ../../zircon/kernel/vm/include/vm/attribution.h