pub struct GpuSubmissionStats {
pub frames: u64,
pub split_frames: u64,
pub max_per_frame: u32,
pub max_predicted_ms: Option<f64>,
}Expand description
How frames since the last crate::Renderer::take_gpu_submission_stats were split into
submissions.
Fields§
§frames: u64Frames rendered.
split_frames: u64Frames submitted in more than one submission.
max_per_frame: u32The most submissions one frame took.
max_predicted_ms: Option<f64>Longest predicted GPU time of one submission, in milliseconds, among planned frames.
Trait Implementations§
Source§impl Clone for GpuSubmissionStats
impl Clone for GpuSubmissionStats
impl Copy for GpuSubmissionStats
Source§impl Debug for GpuSubmissionStats
impl Debug for GpuSubmissionStats
Source§impl Default for GpuSubmissionStats
impl Default for GpuSubmissionStats
Source§impl PartialEq for GpuSubmissionStats
impl PartialEq for GpuSubmissionStats
impl StructuralPartialEq for GpuSubmissionStats
Auto Trait Implementations§
impl Freeze for GpuSubmissionStats
impl RefUnwindSafe for GpuSubmissionStats
impl Send for GpuSubmissionStats
impl Sync for GpuSubmissionStats
impl Unpin for GpuSubmissionStats
impl UnsafeUnpin for GpuSubmissionStats
impl UnwindSafe for GpuSubmissionStats
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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