NetSurf
|
Core llcache control context. More...
Data Fields | |
llcache_object * | cached_objects |
Head of the low-level cached object list. More... | |
llcache_object * | uncached_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... | |
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().
llcache_object* llcache_s::cached_objects |
Head of the low-level cached object list.
Definition at line 212 of file llcache.c.
Referenced by build_candidate_list(), llcache_catch_up_all_users(), llcache_clean(), llcache_finalise(), llcache_handle_force_stream(), and llcache_object_retrieve_from_cache().
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().
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().
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().
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().
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().
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().
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().
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().
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().