[−][src]Struct dpdk_unix::hyper_thread::InterruptRequest
Represents a logical hyper thread, which in Operating System terms is usually a logical CPU (core).
These usually map 1:1 with LogicalCore
s
Methods
impl InterruptRequest
[src]
pub fn read_interrupt_request_to_hyper_threads_affinity(
&self,
proc_path: &ProcPath
) -> Result<BTreeSet<HyperThread>, ListParseError>
[src]
&self,
proc_path: &ProcPath
) -> Result<BTreeSet<HyperThread>, ListParseError>
Reads interrupt request (IRQ) affinity to hyper threads.
pub fn read_interrupt_request_to_hyper_threads_affinity_hint(
&self,
proc_path: &ProcPath
) -> Result<BTreeSet<HyperThread>, ListParseError>
[src]
&self,
proc_path: &ProcPath
) -> Result<BTreeSet<HyperThread>, ListParseError>
This logic seems to exist in the Linux kernel to provide a place for the irqbalance
daemon to store some configuration.
pub fn read_interrupt_request_node(
&self,
proc_path: &ProcPath
) -> Result<u8, Error>
[src]
&self,
proc_path: &ProcPath
) -> Result<u8, Error>
?numa node? As always, the Linux documentation sucks.
pub fn read_default_interrupt_request_affinity_hyper_thread_bitmask(
proc_path: &ProcPath
) -> Result<HyperThreadBitmask, Error>
[src]
proc_path: &ProcPath
) -> Result<HyperThreadBitmask, Error>
Default interrupt request affinity hyper thread mask.
pub fn force_all_interrupt_requests_to_just_these_hyper_threads(
hyper_threads: &BTreeSet<HyperThread>,
proc_path: &ProcPath
) -> Result<()>
[src]
hyper_threads: &BTreeSet<HyperThread>,
proc_path: &ProcPath
) -> Result<()>
We ignore failures as the /proc
for interrupt requests is brittle.
pub fn interrupt_requests(proc_path: &ProcPath) -> Result<BTreeSet<Self>, Error>
[src]
Returns known interrupt requests (IRQs).
Trait Implementations
impl Eq for InterruptRequest
[src]
impl Clone for InterruptRequest
[src]
fn clone(&self) -> InterruptRequest
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Into<u16> for InterruptRequest
[src]
impl Copy for InterruptRequest
[src]
impl PartialOrd<InterruptRequest> for InterruptRequest
[src]
fn partial_cmp(&self, other: &InterruptRequest) -> Option<Ordering>
[src]
fn lt(&self, other: &InterruptRequest) -> bool
[src]
fn le(&self, other: &InterruptRequest) -> bool
[src]
fn gt(&self, other: &InterruptRequest) -> bool
[src]
fn ge(&self, other: &InterruptRequest) -> bool
[src]
impl PartialEq<InterruptRequest> for InterruptRequest
[src]
fn eq(&self, other: &InterruptRequest) -> bool
[src]
fn ne(&self, other: &InterruptRequest) -> bool
[src]
impl Default for InterruptRequest
[src]
fn default() -> InterruptRequest
[src]
impl Ord for InterruptRequest
[src]
fn cmp(&self, other: &InterruptRequest) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
impl From<u16> for InterruptRequest
[src]
impl Hash for InterruptRequest
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for InterruptRequest
[src]
impl Serialize for InterruptRequest
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for InterruptRequest
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for InterruptRequest
impl Sync for InterruptRequest
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,