Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
flutter::RasterCacheMetrics Struct Reference

#include <raster_cache.h>

Public Member Functions

size_t total_count () const
 
size_t total_bytes () const
 

Public Attributes

size_t eviction_count = 0
 
size_t eviction_bytes = 0
 
size_t in_use_count = 0
 
size_t in_use_bytes = 0
 

Detailed Description

Definition at line 60 of file raster_cache.h.

Member Function Documentation

◆ total_bytes()

size_t flutter::RasterCacheMetrics::total_bytes ( ) const
inline

The size of all of the cached images during this frame.

Definition at line 89 of file raster_cache.h.

89{ return in_use_bytes; }

◆ total_count()

size_t flutter::RasterCacheMetrics::total_count ( ) const
inline

The total cache entries that had images during this frame.

Definition at line 84 of file raster_cache.h.

84{ return in_use_count; }

Member Data Documentation

◆ eviction_bytes

size_t flutter::RasterCacheMetrics::eviction_bytes = 0

The size of all of the images evicted in this frame.

Definition at line 69 of file raster_cache.h.

◆ eviction_count

size_t flutter::RasterCacheMetrics::eviction_count = 0

The number of cache entries with images evicted in this frame.

Definition at line 64 of file raster_cache.h.

◆ in_use_bytes

size_t flutter::RasterCacheMetrics::in_use_bytes = 0

The size of all of the images used in this frame.

Definition at line 79 of file raster_cache.h.

◆ in_use_count

size_t flutter::RasterCacheMetrics::in_use_count = 0

The number of cache entries with images used in this frame.

Definition at line 74 of file raster_cache.h.


The documentation for this struct was generated from the following file: