pub struct ChunkMapGameTickTimings {
pub broadcast_changes: Duration,
pub collect_tickable: Duration,
pub tick_chunks: Duration,
pub tick_block_entities: Duration,
pub tickable_count: usize,
pub total_chunks: usize,
pub lookup_cache: GameplayChunkLookupCacheStats,
}Expand description
Timing information for the game tick portion of chunk map operations.
Fields§
§broadcast_changes: DurationTime spent broadcasting block changes.
collect_tickable: DurationTime spent collecting tickable chunks.
tick_chunks: DurationTime spent ticking chunks (random ticks, etc.).
tick_block_entities: DurationTime spent ticking block entities.
tickable_count: usizeNumber of block-ticking chunks.
total_chunks: usizeTotal number of loaded chunks.
lookup_cache: GameplayChunkLookupCacheStatsScoped holder-cache activity across the world game tick.
Trait Implementations§
Source§impl Debug for ChunkMapGameTickTimings
impl Debug for ChunkMapGameTickTimings
Source§impl Default for ChunkMapGameTickTimings
impl Default for ChunkMapGameTickTimings
Source§fn default() -> ChunkMapGameTickTimings
fn default() -> ChunkMapGameTickTimings
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ChunkMapGameTickTimings
impl RefUnwindSafe for ChunkMapGameTickTimings
impl Send for ChunkMapGameTickTimings
impl Sync for ChunkMapGameTickTimings
impl Unpin for ChunkMapGameTickTimings
impl UnsafeUnpin for ChunkMapGameTickTimings
impl UnwindSafe for ChunkMapGameTickTimings
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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 moreWraps this value in an
Arc<SyncMutex<>>