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<String, VmoSummary>,
}
Expand description
Summary of a Principal memory usage, and its breakdown per VMO group.
Fields§
§id: u64
Identifier for the Principal. This number is not meaningful outside of the memory attribution system.
name: String
Display name of the Principal.
principal_type: String
Type of the Principal.
committed_private: u64
Number of committed private bytes of the Principal.
committed_scaled: f64
Number of committed bytes of all VMOs accessible to the Principal, scaled by the number of Principals that can access them.
committed_total: u64
Total number of committed bytes of all the VMOs accessible to the Principal.
populated_private: u64
Number of populated private bytes of the Principal.
populated_scaled: f64
Number of populated bytes of all VMOs accessible to the Principal, scaled by the number of Principals that can access them.
populated_total: u64
Total 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<String, VmoSummary>
Summary of memory usage for the VMOs accessible to this Principal, grouped by VMO name.