Flutter Engine
The Flutter Engine
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 62 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 91 of file raster_cache.h.

91{ 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 86 of file raster_cache.h.

86{ 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 71 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 66 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 81 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 76 of file raster_cache.h.


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