pub struct SubThresholdOrchestrator { /* private fields */ }Expand description
Sub-threshold orchestrator
Implementations§
Source§impl SubThresholdOrchestrator
impl SubThresholdOrchestrator
Sourcepub fn optimize_for_sub_threshold(
&mut self,
computation: SubThresholdComputation,
) -> SubThresholdComputation
pub fn optimize_for_sub_threshold( &mut self, computation: SubThresholdComputation, ) -> SubThresholdComputation
Optimize computation for sub-threshold operation.
Uses the resource allocator to check available compute units and scales the computation’s resource requirements accordingly. The orchestration policy influences the reduction factor:
PowerEfficiency: 50% compute, 40% power, 50% thermalThermalAware: 60% compute, 50% power, 60% thermalPerformanceFirst: 90% compute, 80% power, 80% thermalAdaptive/other: 70% compute, 50% power, 60% thermal
Sourcepub fn workload_analyzer_mut(&mut self) -> &mut WorkloadAnalyzer
pub fn workload_analyzer_mut(&mut self) -> &mut WorkloadAnalyzer
Get a mutable reference to the workload analyzer for recording samples.
Sourcepub fn resource_allocator_mut(&mut self) -> &mut ResourceAllocator
pub fn resource_allocator_mut(&mut self) -> &mut ResourceAllocator
Get a mutable reference to the resource allocator.
Auto Trait Implementations§
impl Freeze for SubThresholdOrchestrator
impl RefUnwindSafe for SubThresholdOrchestrator
impl Send for SubThresholdOrchestrator
impl Sync for SubThresholdOrchestrator
impl Unpin for SubThresholdOrchestrator
impl UnsafeUnpin for SubThresholdOrchestrator
impl UnwindSafe for SubThresholdOrchestrator
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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