pub struct GossipTuningProfile {
pub preset: HostProfilePreset,
pub runtime: SofRuntimeTuning,
pub channels: GossipChannelTuning,
pub fanout: ReceiverFanoutProfile,
}Expand description
Host-specific aggregate root for one gossip tuning profile.
Fields§
§preset: HostProfilePresetHost profile label.
runtime: SofRuntimeTuningSOF-supported runtime tuning.
channels: GossipChannelTuningGossip internal queue tuning.
fanout: ReceiverFanoutProfileDesired receiver fanout posture.
Implementations§
Source§impl GossipTuningProfile
impl GossipTuningProfile
Sourcepub const fn preset(preset: HostProfilePreset) -> Self
pub const fn preset(preset: HostProfilePreset) -> Self
Returns the built-in profile for a given preset.
Sourcepub const fn supported_runtime_tuning(self) -> SofRuntimeTuning
pub const fn supported_runtime_tuning(self) -> SofRuntimeTuning
Returns the subset of tuning that SOF can apply directly today.
Sourcepub const fn pending_gossip_queue_plan(self) -> PendingGossipQueuePlan
pub const fn pending_gossip_queue_plan(self) -> PendingGossipQueuePlan
Returns the gossip queue plan.
Trait Implementations§
Source§impl Clone for GossipTuningProfile
impl Clone for GossipTuningProfile
Source§fn clone(&self) -> GossipTuningProfile
fn clone(&self) -> GossipTuningProfile
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 GossipTuningProfile
impl Debug for GossipTuningProfile
Source§impl PartialEq for GossipTuningProfile
impl PartialEq for GossipTuningProfile
impl Copy for GossipTuningProfile
impl Eq for GossipTuningProfile
impl StructuralPartialEq for GossipTuningProfile
Auto Trait Implementations§
impl Freeze for GossipTuningProfile
impl RefUnwindSafe for GossipTuningProfile
impl Send for GossipTuningProfile
impl Sync for GossipTuningProfile
impl Unpin for GossipTuningProfile
impl UnsafeUnpin for GossipTuningProfile
impl UnwindSafe for GossipTuningProfile
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