MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / get_mpidrs

Method get_mpidrs

vmm/src/cpu.rs:1670–1675  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1668
1669 #[cfg(target_arch = "aarch64")]
1670 pub fn get_mpidrs(&self) -> Vec<u64> {
1671 self.vcpus
1672 .iter()
1673 .map(|cpu| cpu.lock().unwrap().get_mpidr())
1674 .collect()
1675 }
1676
1677 #[cfg(target_arch = "aarch64")]
1678 pub fn get_saved_states(&self) -> Vec<CpuState> {

Callers 1

configure_systemMethod · 0.80

Calls 3

iterMethod · 0.80
get_mpidrMethod · 0.80
mapMethod · 0.45

Tested by

no test coverage detected