pub struct AuxCounts {
pub presented: u64,
pub skipped: u64,
}Expand description
What AuxTarget::present did with the calls it was given, since attach.
The witness a cost measurement of this surface needs (ADR-0172). Every arm
of the present path that returns without reaching queue.present returns
the same Ok(()) a successful present does, so a surface that was occluded
for a whole run and one that presented every frame produce the same log and
the same frame rate. presented is what separates them; a measurement
reading zero cost against a zero present count has measured nothing.
presented + skipped is the number of calls the target received, which is
what lets a caller reconcile its own totals: whatever it decimated, plus
these two, is the frames it ran with this target attached.
Fields§
§presented: u64Calls that reached this surface’s own queue.present.
skipped: u64Calls that returned without presenting — the surface had no texture to give, or refused validation.
Trait Implementations§
impl Copy for AuxCounts
impl Eq for AuxCounts
impl StructuralPartialEq for AuxCounts
Auto Trait Implementations§
impl Freeze for AuxCounts
impl RefUnwindSafe for AuxCounts
impl Send for AuxCounts
impl Sync for AuxCounts
impl Unpin for AuxCounts
impl UnsafeUnpin for AuxCounts
impl UnwindSafe for AuxCounts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.