Struct kvm_stats_desc
#[repr(C)]pub struct kvm_stats_desc {
pub flags: u32,
pub exponent: i16,
pub size: u16,
pub offset: u32,
pub bucket_size: u32,
pub name: __IncompleteArrayField<i8>,
}
Expand description
struct kvm_stats_desc - Descriptor of a KVM statistics. @flags: Annotations of the stats, like type, unit, etc. @exponent: Used together with @flags to determine the unit. @size: The number of data items for this stats. Every data item is of type __u64. @offset: The offset of the stats to the start of stat structure in structure kvm or kvm_vcpu. @bucket_size: A parameter value used for histogram stats. It is only used for linear histogram stats, specifying the size of the bucket; @name: The name string for the stats. Its size is indicated by the &kvm_stats_header->name_size.
Fields§
§flags: u32
§exponent: i16
§size: u16
§offset: u32
§bucket_size: u32
§name: __IncompleteArrayField<i8>
Trait Implementations§
§impl Debug for kvm_stats_desc
impl Debug for kvm_stats_desc
§impl Default for kvm_stats_desc
impl Default for kvm_stats_desc
§fn default() -> kvm_stats_desc
fn default() -> kvm_stats_desc
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for kvm_stats_desc
impl RefUnwindSafe for kvm_stats_desc
impl Send for kvm_stats_desc
impl Sync for kvm_stats_desc
impl Unpin for kvm_stats_desc
impl UnwindSafe for kvm_stats_desc
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