pub struct ExpertCacheTelemetry {
pub owned_experts: usize,
pub owned_bytes: u64,
pub host_resident_experts: usize,
pub device_resident_experts: usize,
pub host_resident_bytes: u64,
pub device_resident_bytes: u64,
pub peak_host_resident_bytes: u64,
pub peak_device_resident_bytes: u64,
}Expand description
Routed-expert cache occupancy summary.
Fields§
§owned_experts: usizeOwned expert count.
owned_bytes: u64Owned logical expert bytes.
host_resident_experts: usizeCurrent host-resident expert count.
device_resident_experts: usizeCurrent device-resident expert count.
host_resident_bytes: u64Current host allocation capacity for experts.
device_resident_bytes: u64Current logical device expert bytes.
peak_host_resident_bytes: u64Peak host expert bytes.
peak_device_resident_bytes: u64Peak device expert bytes.
Trait Implementations§
Source§impl Clone for ExpertCacheTelemetry
impl Clone for ExpertCacheTelemetry
Source§fn clone(&self) -> ExpertCacheTelemetry
fn clone(&self) -> ExpertCacheTelemetry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExpertCacheTelemetry
impl Debug for ExpertCacheTelemetry
Source§impl<'de> Deserialize<'de> for ExpertCacheTelemetry
impl<'de> Deserialize<'de> for ExpertCacheTelemetry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ExpertCacheTelemetry
Source§impl PartialEq for ExpertCacheTelemetry
impl PartialEq for ExpertCacheTelemetry
Source§impl Serialize for ExpertCacheTelemetry
impl Serialize for ExpertCacheTelemetry
impl StructuralPartialEq for ExpertCacheTelemetry
Auto Trait Implementations§
impl Freeze for ExpertCacheTelemetry
impl RefUnwindSafe for ExpertCacheTelemetry
impl Send for ExpertCacheTelemetry
impl Sync for ExpertCacheTelemetry
impl Unpin for ExpertCacheTelemetry
impl UnsafeUnpin for ExpertCacheTelemetry
impl UnwindSafe for ExpertCacheTelemetry
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