pub enum RaplBackend {
Perf,
Powercap,
}Expand description
RAPL backend, selected with profiler.rapl_backend in the configuration.
The RAPL source always comes with a backend, so this enum always has at least one variant.
Variants§
Trait Implementations§
Source§impl Clone for RaplBackend
impl Clone for RaplBackend
Source§fn clone(&self) -> RaplBackend
fn clone(&self) -> RaplBackend
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RaplBackend
impl Debug for RaplBackend
Source§impl Default for RaplBackend
impl Default for RaplBackend
Source§fn default() -> RaplBackend
fn default() -> RaplBackend
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RaplBackend
impl<'de> Deserialize<'de> for RaplBackend
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RaplBackend
impl RefUnwindSafe for RaplBackend
impl Send for RaplBackend
impl Sync for RaplBackend
impl Unpin for RaplBackend
impl UnsafeUnpin for RaplBackend
impl UnwindSafe for RaplBackend
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