pub struct StationLoadSamplerConfig {
pub estimated_bytes_per_entity: usize,
pub estimated_bytes_per_subscriber: usize,
pub estimated_bytes_per_event: usize,
pub tick_cost_per_owned_entity: u64,
pub tick_cost_per_ghost_entity: u64,
pub tick_cost_per_occupied_cell: u64,
pub tick_cost_per_queued_event: u64,
}Expand description
Lightweight coefficients used to derive hotspot/scheduler load samples.
Fields§
§estimated_bytes_per_entity: usizeEstimated bytes contributed by one stored entity in the measurement window.
estimated_bytes_per_subscriber: usizeEstimated bytes contributed by one subscriber routed to a station.
estimated_bytes_per_event: usizeEstimated bytes contributed by one queued station event.
tick_cost_per_owned_entity: u64Runtime cost units assigned to one authoritative entity.
tick_cost_per_ghost_entity: u64Runtime cost units assigned to one read-only ghost entity.
tick_cost_per_occupied_cell: u64Runtime cost units assigned to one occupied spatial cell.
tick_cost_per_queued_event: u64Runtime cost units assigned to one queued station event.
Trait Implementations§
Source§impl Clone for StationLoadSamplerConfig
impl Clone for StationLoadSamplerConfig
Source§fn clone(&self) -> StationLoadSamplerConfig
fn clone(&self) -> StationLoadSamplerConfig
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 moreimpl Copy for StationLoadSamplerConfig
Source§impl Debug for StationLoadSamplerConfig
impl Debug for StationLoadSamplerConfig
Source§impl Default for StationLoadSamplerConfig
impl Default for StationLoadSamplerConfig
impl Eq for StationLoadSamplerConfig
Source§impl PartialEq for StationLoadSamplerConfig
impl PartialEq for StationLoadSamplerConfig
impl StructuralPartialEq for StationLoadSamplerConfig
Auto Trait Implementations§
impl Freeze for StationLoadSamplerConfig
impl RefUnwindSafe for StationLoadSamplerConfig
impl Send for StationLoadSamplerConfig
impl Sync for StationLoadSamplerConfig
impl Unpin for StationLoadSamplerConfig
impl UnsafeUnpin for StationLoadSamplerConfig
impl UnwindSafe for StationLoadSamplerConfig
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