Skip to main content

VmmWorldStats

Struct VmmWorldStats 

Source
#[repr(C)]
pub struct VmmWorldStats {
Show 13 fields pub abi_version: u32, pub paused: u32, pub vmm_id: u64, 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, pub exits_pending: u64,
}
Expand description

Cumulative counters of a world returned by SYS_VMM_STATS (585).

Size: 96 bytes, alignment 8. The counters are diagnostics only and are monotonic except exits_pending, which is a queue depth at call time.

Fields§

§abi_version: u32§paused: u32

1 when the world is paused, 0 otherwise.

§vmm_id: u64§runs: u64

RUN calls that reached the hardware.

§policy_exits: u64

Exits handed to the policy through the event queue.

§emulated_exits: u64

Exits replayed in the kernel by the device model.

§emulated_io: u64

Replayed I/O instructions.

§emulated_mmio: u64

Replayed MMIO accesses.

§emulated_msr: u64

Replayed MSR accesses.

§injected_interrupts: u64

Interrupts injected into the guest.

§windows_armed: u64

Times interrupt-window exiting was armed.

§timer_exits: u64

Guest time slices that expired (preemption timer).

§exits_pending: u64

Exit events queued and not yet consumed by the policy.

Trait Implementations§

Source§

impl Clone for VmmWorldStats

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for VmmWorldStats

Source§

impl Debug for VmmWorldStats

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for VmmWorldStats

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Eq for VmmWorldStats

Source§

impl PartialEq for VmmWorldStats

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for VmmWorldStats

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.