pub struct ComputePoolMetrics {
pub tasks_submitted: AtomicU64,
pub tasks_completed: AtomicU64,
pub tasks_failed: AtomicU64,
pub active_workers: AtomicUsize,
pub queue_depth_low: AtomicUsize,
pub queue_depth_normal: AtomicUsize,
pub queue_depth_high: AtomicUsize,
pub queue_depth_critical: AtomicUsize,
pub total_execution_time_ns: AtomicU64,
}Fields§
§tasks_submitted: AtomicU64§tasks_completed: AtomicU64§tasks_failed: AtomicU64§active_workers: AtomicUsize§queue_depth_low: AtomicUsize§queue_depth_normal: AtomicUsize§queue_depth_high: AtomicUsize§queue_depth_critical: AtomicUsize§total_execution_time_ns: AtomicU64Implementations§
Source§impl ComputePoolMetrics
impl ComputePoolMetrics
pub fn tasks_submitted(&self) -> u64
pub fn tasks_completed(&self) -> u64
pub fn tasks_failed(&self) -> u64
pub fn active_workers(&self) -> usize
pub fn queue_depth_low(&self) -> usize
pub fn queue_depth_normal(&self) -> usize
pub fn queue_depth_high(&self) -> usize
pub fn queue_depth_critical(&self) -> usize
pub fn total_execution_time_ns(&self) -> u64
Trait Implementations§
Source§impl Debug for ComputePoolMetrics
impl Debug for ComputePoolMetrics
Source§impl Default for ComputePoolMetrics
impl Default for ComputePoolMetrics
Source§fn default() -> ComputePoolMetrics
fn default() -> ComputePoolMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for ComputePoolMetrics
impl RefUnwindSafe for ComputePoolMetrics
impl Send for ComputePoolMetrics
impl Sync for ComputePoolMetrics
impl Unpin for ComputePoolMetrics
impl UnwindSafe for ComputePoolMetrics
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