Enum simics_api_sys::probe_key_t

source ·
#[repr(u32)]
pub enum probe_key_t {
Show 21 variants Probe_Key_Name = 0, Probe_Key_Type = 1, Probe_Key_Categories = 2, Probe_Key_Cause_Slowdown = 3, Probe_Key_Owner_Object = 4, Probe_Key_Display_Name = 5, Probe_Key_Description = 6, Probe_Key_Float_Percent = 7, Probe_Key_Float_Decimals = 8, Probe_Key_Metric_Prefix = 9, Probe_Key_Unit = 10, Probe_Key_Binary_Prefix = 11, Probe_Key_Time_Format = 12, Probe_Key_Width = 13, Probe_Key_Value_Notifier = 14, Probe_Key_Global_Sum = 15, Probe_Key_Cell_Sum = 16, Probe_Key_Aggregates = 17, Probe_Key_Aggregate_Scope = 18, Probe_Key_Aggregate_Function = 19, Probe_Key_Definition = 20,
}
Expand description

Variants§

§

Probe_Key_Name = 0

Identifier of the probe

§

Probe_Key_Type = 1

string, any of: { “int”, “float, “fraction”, “histogram”, “int128”, “string” }

§

Probe_Key_Categories = 2

list of strings

§

Probe_Key_Cause_Slowdown = 3

bool

§

Probe_Key_Owner_Object = 4

object: owner object

§

Probe_Key_Display_Name = 5

string: short narrow name

§

Probe_Key_Description = 6

string

§

Probe_Key_Float_Percent = 7

§

Probe_Key_Float_Decimals = 8

§

Probe_Key_Metric_Prefix = 9

§

Probe_Key_Unit = 10

§

Probe_Key_Binary_Prefix = 11

§

Probe_Key_Time_Format = 12

§

Probe_Key_Width = 13

§

Probe_Key_Value_Notifier = 14

§

Probe_Key_Global_Sum = 15

[list of properties] OBSOLETE

§

Probe_Key_Cell_Sum = 16

[list of properties] OBSOLETE

§

Probe_Key_Aggregates = 17

Defines new probes which aggregate over this probe: [list of [list properties]] Invalid for Type: “string”

§

Probe_Key_Aggregate_Scope = 18

Aggregate over all probes in the cells or all probes in the system. String and of [“global”, “cell”]

§

Probe_Key_Aggregate_Function = 19

How the aggregation should be done: “sum”, “weighted-arith-mean”,

  • only fractions
§

Probe_Key_Definition = 20

string: how the probe is calculated

Trait Implementations§

source§

impl Clone for probe_key_t

source§

fn clone(&self) -> probe_key_t

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for probe_key_t

source§

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

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

impl Hash for probe_key_t

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for probe_key_t

source§

fn cmp(&self, other: &probe_key_t) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for probe_key_t

source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for probe_key_t

source§

fn partial_cmp(&self, other: &probe_key_t) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

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

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Copy for probe_key_t

source§

impl Eq for probe_key_t

source§

impl StructuralPartialEq for probe_key_t

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
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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.

source§

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

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

source§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.