pub struct WorldStats {
pub runs: u64,
pub policy_exits: u64,
pub emulated_exits: u64,
pub emulated_io: u64,
pub emulated_mmio: u64,
pub emulated_msr: u64,
pub injected_interrupts: u64,
pub windows_armed: u64,
pub timer_exits: u64,
}Expand description
Cumulative execution counters of a world.
They are diagnostics only: nothing in the engine depends on them. They are
updated by the execution loop and exposed read-only through /dev/vmm.
Fields§
§runs: u64RUN calls that reached the hardware.
policy_exits: u64Exits handed to policy through the event queue.
emulated_exits: u64Exits replayed in the kernel by the device model.
emulated_io: u64Replayed I/O instructions (PIC ports, POST port).
emulated_mmio: u64Replayed MMIO accesses (APIC and I/O APIC pages).
emulated_msr: u64Replayed MSR accesses (x2APIC window).
injected_interrupts: u64Interrupts injected into the guest.
windows_armed: u64Times interrupt-window exiting was armed.
timer_exits: u64Guest time slices that expired (preemption timer).
Implementations§
Source§impl WorldStats
impl WorldStats
Trait Implementations§
Source§impl Clone for WorldStats
impl Clone for WorldStats
impl Copy for WorldStats
Source§impl Debug for WorldStats
impl Debug for WorldStats
Source§impl Default for WorldStats
impl Default for WorldStats
impl Eq for WorldStats
Source§impl PartialEq for WorldStats
impl PartialEq for WorldStats
impl StructuralPartialEq for WorldStats
Auto Trait Implementations§
impl Forget for WorldStats
impl Freeze for WorldStats
impl Move for WorldStats
impl RefUnwindSafe for WorldStats
impl Send for WorldStats
impl Sync for WorldStats
impl Unpin for WorldStats
impl UnsafeUnpin for WorldStats
impl UnwindSafe for WorldStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more