pub struct RealTimeGpuMonitor { /* private fields */ }Expand description
Real-time GPU performance monitoring system
Implementations§
Source§impl RealTimeGpuMonitor
impl RealTimeGpuMonitor
Sourcepub fn start_monitoring(&self) -> IntegrateResult<()>
pub fn start_monitoring(&self) -> IntegrateResult<()>
Start real-time monitoring (would spawn background thread in real implementation)
Sourcepub fn get_current_metrics(&self) -> Option<&GpuPerformanceMetrics>
pub fn get_current_metrics(&self) -> Option<&GpuPerformanceMetrics>
Get current performance metrics
Sourcepub fn needs_optimization(&self) -> bool
pub fn needs_optimization(&self) -> bool
Check if performance optimization is needed
Auto Trait Implementations§
impl Freeze for RealTimeGpuMonitor
impl RefUnwindSafe for RealTimeGpuMonitor
impl Send for RealTimeGpuMonitor
impl Sync for RealTimeGpuMonitor
impl Unpin for RealTimeGpuMonitor
impl UnwindSafe for RealTimeGpuMonitor
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
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