pub struct ListPerfStats {
pub frames: u64,
pub rows_built: u64,
pub rows_measured: u64,
pub measure_cache_hits: u64,
pub row_cache_hits: u64,
pub row_state_clones: u64,
pub geometry_rebuilds: u64,
pub peak_retained_rows: usize,
pub peak_retained_control_rows: usize,
pub peak_retained_bytes: usize,
}Expand description
Lightweight performance and retention counters for Android XML adapter lists.
Fields§
§frames: u64Number of list render passes recorded.
rows_built: u64Total adapter rows built/painted across frames.
rows_measured: u64Total adapter rows actually measured (layout/wrap executed on cache miss).
measure_cache_hits: u64Total row measurement checks satisfied from cache without remeasuring.
row_cache_hits: u64Total rows that reused cached row layout / wrapped-line data during paint.
row_state_clones: u64Total LayoutState clones executed while preparing/drawing list rows.
geometry_rebuilds: u64Number of times list geometry was freshly constructed or invalidated.
peak_retained_rows: usizePeak retained measured/cached row entries observed.
peak_retained_control_rows: usizePeak retained control-state row entries observed.
peak_retained_bytes: usizePeak retained list cache & control-state bytes (excluding caller adapter strings).
Trait Implementations§
Source§impl Clone for ListPerfStats
impl Clone for ListPerfStats
impl Copy for ListPerfStats
Source§impl Debug for ListPerfStats
impl Debug for ListPerfStats
Source§impl Default for ListPerfStats
impl Default for ListPerfStats
impl Eq for ListPerfStats
Source§impl PartialEq for ListPerfStats
impl PartialEq for ListPerfStats
impl StructuralPartialEq for ListPerfStats
Auto Trait Implementations§
impl Forget for ListPerfStats
impl Freeze for ListPerfStats
impl Move for ListPerfStats
impl RefUnwindSafe for ListPerfStats
impl Send for ListPerfStats
impl Sync for ListPerfStats
impl Unpin for ListPerfStats
impl UnsafeUnpin for ListPerfStats
impl UnwindSafe for ListPerfStats
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