pub struct Statistics { /* private fields */ }Expand description
Runtime statistics.
Implementations§
Source§impl Statistics
§constructors & deconstructors
impl Statistics
§constructors & deconstructors
Source§impl Statistics
§manager methods
impl Statistics
§manager methods
Source§impl Statistics
§query methods
impl Statistics
§query methods
Sourcepub fn failed_renders(&self) -> u64
pub fn failed_renders(&self) -> u64
Failed renders.
Sourcepub fn render_max_ns(&self) -> i64
pub fn render_max_ns(&self) -> i64
Max ns spent in render for a frame.
Sourcepub fn render_min_ns(&self) -> i64
pub fn render_min_ns(&self) -> i64
Min ns spent in render for a frame.
Sourcepub fn failed_writeouts(&self) -> u64
pub fn failed_writeouts(&self) -> u64
Failed rasterizations.
Sourcepub fn raster_bytes(&self) -> u64
pub fn raster_bytes(&self) -> u64
Bytes emitted to ttyfp.
Sourcepub fn raster_max_bytes(&self) -> i64
pub fn raster_max_bytes(&self) -> i64
Max bytes emitted for a frame.
Sourcepub fn raster_min_bytes(&self) -> i64
pub fn raster_min_bytes(&self) -> i64
Min bytes emitted for a frame.
Sourcepub fn raster_max_ns(&self) -> i64
pub fn raster_max_ns(&self) -> i64
Max ns spent in raster for a frame.
Sourcepub fn raster_min_ns(&self) -> i64
pub fn raster_min_ns(&self) -> i64
Min ns spent in raster for a frame.
Sourcepub fn cell_elisions(&self) -> u64
pub fn cell_elisions(&self) -> u64
Cells we elided entirely thanks to damage maps.
Sourcepub fn cell_emissions(&self) -> u64
pub fn cell_emissions(&self) -> u64
Total number of cells emitted to terminal.
Sourcepub fn fg_elisions(&self) -> u64
pub fn fg_elisions(&self) -> u64
RGB fg elision count.
Sourcepub fn fg_emissions(&self) -> u64
pub fn fg_emissions(&self) -> u64
RGB fg emissions.
Sourcepub fn bg_elisions(&self) -> u64
pub fn bg_elisions(&self) -> u64
RGB bg elision count.
Sourcepub fn bg_emissions(&self) -> u64
pub fn bg_emissions(&self) -> u64
RGB bg emissions.
Sourcepub fn default_elisions(&self) -> u64
pub fn default_elisions(&self) -> u64
Default color was emitted.
Sourcepub fn default_emissions(&self) -> u64
pub fn default_emissions(&self) -> u64
Default color was elided.
Sourcepub fn sprixel_emissions(&self) -> u64
pub fn sprixel_emissions(&self) -> u64
Sprixel draw count.
Sourcepub fn sprixel_elisions(&self) -> u64
pub fn sprixel_elisions(&self) -> u64
Sprixel elision count.
Sourcepub fn sprixel_bytes(&self) -> u64
pub fn sprixel_bytes(&self) -> u64
Sprixel bytes emitted.
Sourcepub fn appsync_updates(&self) -> u64
pub fn appsync_updates(&self) -> u64
How many application-synchronized updates?
Sourcepub fn input_errors(&self) -> u64
pub fn input_errors(&self) -> u64
Errors processing control sequences/utf8.
Sourcepub fn input_events(&self) -> u64
pub fn input_events(&self) -> u64
Characters returned to userspace.
Sourcepub fn hpa_gratuitous(&self) -> u64
pub fn hpa_gratuitous(&self) -> u64
Unnecessary hpas issued.
The number of hpa (horizontal position absolute, see terminfo(5)) control sequences issued where not strictly necessary.
This is done to cope with fundamental ambiguities regarding glyph width. It is not generally possible to know how wide a glyph will be rendered on a given combination of font, font rendering engine, and terminal. Indeed, it is not even generally possible to know how many glyphs will result from a sequence of EGCs. As a result, Notcurses sometimes issues “gratuitous” hpa controls.
Sourcepub fn cell_geo_changes(&self) -> u64
pub fn cell_geo_changes(&self) -> u64
Cell geometry changes (resizes).
The number of changes to the visible area’s cell geometry.
The cell geometry changes whenever the visible area is resized without a corresponding cell-pixel geometry change.
Both can change at the same time if e.g. a terminal undergoes a font size change without changing its total size.
Sourcepub fn pixel_geo_changes(&self) -> u64
pub fn pixel_geo_changes(&self) -> u64
Pixel geometry changes (font resize).
The number of changes to cells’ pixel geometry (i.e. the height and width of each cell), and changes whenever the font size changes.
Trait Implementations§
Source§impl Clone for Statistics
impl Clone for Statistics
Source§fn clone(&self) -> Statistics
fn clone(&self) -> Statistics
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more