#[non_exhaustive]pub enum Warning {
PowerSaving,
TurboEnabled,
Throttled,
OnBattery,
Busy,
Virtualized,
UnstableClock,
}Expand description
Something that makes benchmark results noisy.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PowerSaving
The governor or power plan lowers the frequency when idle.
TurboEnabled
Turbo is on: the frequency depends on temperature and on other cores.
Throttled
The CPU has been throttled.
OnBattery
On battery, where the OS saves power.
Busy
Other work is running: the load is over a quarter of the CPUs.
Virtualized
A VM: other guests share the hardware.
UnstableClock
The clock is slow to read or drifts with the frequency.
Implementations§
Trait Implementations§
impl Copy for Warning
impl Eq for Warning
impl StructuralPartialEq for Warning
Auto Trait Implementations§
impl Forget for Warning
impl Freeze for Warning
impl RefUnwindSafe for Warning
impl Send for Warning
impl Sync for Warning
impl Unpin for Warning
impl UnsafeUnpin for Warning
impl UnwindSafe for Warning
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