NetSurf
Data Fields
llcache_s Struct Reference

Core llcache control context. More...

Collaboration diagram for llcache_s:
[legend]

Data Fields

llcache_objectcached_objects
 Head of the low-level cached object list. More...
 
llcache_objectuncached_objects
 Head of the low-level uncached object list. More...
 
uint32_t limit
 The target upper bound for the RAM cache size. More...
 
uint32_t fetch_attempts
 The number of fetch attempts we make when timing out. More...
 
bool all_caught_up
 Whether or not our users are caught up. More...
 
int minimum_lifetime
 The minimum lifetime to consider sending objects to backing store. More...
 
unsigned long time_quantum
 The time over which to apply the bandwidth calculations in ms. More...
 
size_t minimum_bandwidth
 The minimum bandwidth to allow the backing store to use in bytes/second. More...
 
size_t maximum_bandwidth
 The maximum bandwidth to allow the backing store to use in bytes/second. More...
 
uint64_t total_written
 Total number of bytes written to backing store. More...
 
uint64_t total_elapsed
 Total number of milliseconds taken to write to backing store. More...
 

Detailed Description

Core llcache control context.

Definition at line 210 of file llcache.c.

Field Documentation

◆ all_caught_up

bool llcache_s::all_caught_up

Whether or not our users are caught up.

Definition at line 224 of file llcache.c.

Referenced by llcache_catch_up_all_users(), llcache_initialise(), and llcache_users_not_caught_up().

◆ cached_objects

llcache_object* llcache_s::cached_objects

◆ fetch_attempts

uint32_t llcache_s::fetch_attempts

The number of fetch attempts we make when timing out.

Definition at line 221 of file llcache.c.

Referenced by llcache_initialise(), and llcache_object_fetch().

◆ limit

uint32_t llcache_s::limit

The target upper bound for the RAM cache size.

Definition at line 218 of file llcache.c.

Referenced by llcache_clean(), and llcache_initialise().

◆ maximum_bandwidth

size_t llcache_s::maximum_bandwidth

The maximum bandwidth to allow the backing store to use in bytes/second.

Definition at line 252 of file llcache.c.

Referenced by llcache_initialise(), and llcache_persist().

◆ minimum_bandwidth

size_t llcache_s::minimum_bandwidth

The minimum bandwidth to allow the backing store to use in bytes/second.

Below this the backing store will be disabled.

Definition at line 246 of file llcache.c.

Referenced by llcache_initialise(), and llcache_persist_slowcheck().

◆ minimum_lifetime

int llcache_s::minimum_lifetime

The minimum lifetime to consider sending objects to backing store.

Definition at line 234 of file llcache.c.

Referenced by build_candidate_list(), and llcache_initialise().

◆ time_quantum

unsigned long llcache_s::time_quantum

The time over which to apply the bandwidth calculations in ms.

Definition at line 239 of file llcache.c.

Referenced by llcache_initialise(), and llcache_persist().

◆ total_elapsed

uint64_t llcache_s::total_elapsed

Total number of milliseconds taken to write to backing store.

Definition at line 262 of file llcache.c.

Referenced by llcache_finalise(), llcache_persist(), and llcache_persist_slowcheck().

◆ total_written

uint64_t llcache_s::total_written

Total number of bytes written to backing store.

Definition at line 257 of file llcache.c.

Referenced by llcache_finalise(), llcache_persist(), and llcache_persist_slowcheck().

◆ uncached_objects

llcache_object* llcache_s::uncached_objects

Head of the low-level uncached object list.

Definition at line 215 of file llcache.c.

Referenced by llcache_catch_up_all_users(), llcache_clean(), llcache_finalise(), llcache_handle_abort(), llcache_handle_force_stream(), and llcache_object_retrieve().


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