Struct dbs_address_space::NumaNode
source · pub struct NumaNode { /* private fields */ }
Expand description
Record all region’s info of a numa node.
Implementations§
source§impl NumaNode
impl NumaNode
sourcepub fn region_infos(&self) -> &Vec<NumaNodeInfo>
pub fn region_infos(&self) -> &Vec<NumaNodeInfo>
get reference of region_infos in numa node.
sourcepub fn add_info(&mut self, info: &NumaNodeInfo)
pub fn add_info(&mut self, info: &NumaNodeInfo)
add a new numa region info into this numa node.
sourcepub fn add_vcpu_ids(&mut self, vcpu_ids: &[u32])
pub fn add_vcpu_ids(&mut self, vcpu_ids: &[u32])
add a group of vcpu ids belong to this numa node