pub struct GossipTuningService;Expand description
Stateless application service for host tuning profiles.
Implementations§
Source§impl GossipTuningService
impl GossipTuningService
Sourcepub const fn preset_profile(preset: HostProfilePreset) -> GossipTuningProfile
pub const fn preset_profile(preset: HostProfilePreset) -> GossipTuningProfile
Projects one built-in preset into the domain aggregate root.
Sourcepub const fn supported_runtime_tuning(
profile: GossipTuningProfile,
) -> SofRuntimeTuning
pub const fn supported_runtime_tuning( profile: GossipTuningProfile, ) -> SofRuntimeTuning
Returns the SOF-supported runtime subset for one profile.
Sourcepub const fn pending_gossip_queue_plan(
profile: GossipTuningProfile,
) -> PendingGossipQueuePlan
pub const fn pending_gossip_queue_plan( profile: GossipTuningProfile, ) -> PendingGossipQueuePlan
Returns the gossip queue plan for one profile.
Sourcepub fn apply_supported_runtime_tuning<P>(
profile: GossipTuningProfile,
port: &mut P,
)where
P: RuntimeTuningPort,
pub fn apply_supported_runtime_tuning<P>(
profile: GossipTuningProfile,
port: &mut P,
)where
P: RuntimeTuningPort,
Applies the SOF-supported subset of one profile through an output port.
Sourcepub fn apply_runtime_tuning<P>(runtime: SofRuntimeTuning, port: &mut P)where
P: RuntimeTuningPort,
pub fn apply_runtime_tuning<P>(runtime: SofRuntimeTuning, port: &mut P)where
P: RuntimeTuningPort,
Applies one already-projected runtime tuning bundle through an output port.
Trait Implementations§
Source§impl Clone for GossipTuningService
impl Clone for GossipTuningService
Source§fn clone(&self) -> GossipTuningService
fn clone(&self) -> GossipTuningService
Returns a duplicate of the value. Read more
1.0.0 · 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 GossipTuningService
impl Debug for GossipTuningService
Source§impl Default for GossipTuningService
impl Default for GossipTuningService
Source§fn default() -> GossipTuningService
fn default() -> GossipTuningService
Returns the “default value” for a type. Read more
impl Copy for GossipTuningService
Auto Trait Implementations§
impl Freeze for GossipTuningService
impl RefUnwindSafe for GossipTuningService
impl Send for GossipTuningService
impl Sync for GossipTuningService
impl Unpin for GossipTuningService
impl UnsafeUnpin for GossipTuningService
impl UnwindSafe for GossipTuningService
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