pub struct RuntimeProfile {
pub node_resources: NodeResources,
pub logical_cores: usize,
pub recommended_workers: usize,
pub acceleration_mode: AccelerationMode,
pub gpu_backend: GpuBackend,
pub xdp_supported: bool,
pub detection_source: String,
pub probe_mode: ProbeMode,
}Expand description
Auto-tuned runtime profile for the local host.
Fields§
§node_resources: NodeResourcesNode resources advertised to the cluster.
logical_cores: usizeLogical CPU cores detected on the host.
recommended_workers: usizeRecommended worker count for network and scheduling tasks.
acceleration_mode: AccelerationModePreferred acceleration path.
gpu_backend: GpuBackendDetected GPU backend technology.
xdp_supported: boolWhether AF_XDP can plausibly be used on this host.
detection_source: StringBest-effort hardware probe source.
probe_mode: ProbeModeProbe mode used to build this profile.
Implementations§
Trait Implementations§
Source§impl Clone for RuntimeProfile
impl Clone for RuntimeProfile
Source§fn clone(&self) -> RuntimeProfile
fn clone(&self) -> RuntimeProfile
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 RuntimeProfile
impl Debug for RuntimeProfile
Source§impl From<&SystemProfile> for RuntimeProfile
impl From<&SystemProfile> for RuntimeProfile
Source§fn from(sp: &SystemProfile) -> Self
fn from(sp: &SystemProfile) -> Self
Converts to this type from the input type.
Source§impl From<SystemProfile> for RuntimeProfile
impl From<SystemProfile> for RuntimeProfile
Source§fn from(sp: SystemProfile) -> Self
fn from(sp: SystemProfile) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RuntimeProfile
impl RefUnwindSafe for RuntimeProfile
impl Send for RuntimeProfile
impl Sync for RuntimeProfile
impl Unpin for RuntimeProfile
impl UnsafeUnpin for RuntimeProfile
impl UnwindSafe for RuntimeProfile
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more