pub struct PrincipalSummary {
pub id: u64,
pub name: String,
pub principal_type: String,
pub committed_private: u64,
pub committed_scaled: f64,
pub committed_total: u64,
pub populated_private: u64,
pub populated_scaled: f64,
pub populated_total: u64,
pub attributor: Option<String>,
pub processes: Vec<String>,
pub vmos: HashMap<ZXName, VmoSummary>,
}Expand description
Summary of a Principal memory usage, and its breakdown per VMO group.
Fields§
§id: u64Identifier for the Principal. This number is not meaningful outside of the memory attribution system.
name: StringDisplay name of the Principal.
principal_type: StringType of the Principal.
committed_private: u64Number of committed private bytes of the Principal.
committed_scaled: f64Number of committed bytes of all VMOs accessible to the Principal, scaled by the number of Principals that can access them.
committed_total: u64Total number of committed bytes of all the VMOs accessible to the Principal.
populated_private: u64Number of populated private bytes of the Principal.
populated_scaled: f64Number of populated bytes of all VMOs accessible to the Principal, scaled by the number of Principals that can access them.
populated_total: u64Total number of populated bytes of all the VMOs accessible to the Principal.
attributor: Option<String>Name of the Principal who gave attribution information for this Principal.
processes: Vec<String>List of Zircon processes attributed (even partially) to this Principal.
vmos: HashMap<ZXName, VmoSummary>Summary of memory usage for the VMOs accessible to this Principal, grouped by VMO name.