NetSurf
Data Fields
llcache_parameters Struct Reference

Parameters to configure the low level cache. More...

#include <llcache.h>

Collaboration diagram for llcache_parameters:
[legend]

Data Fields

size_t limit
 The target upper bound for the RAM cache size. More...
 
size_t hysteresis
 The hysteresis around the target size. More...
 
int minimum_lifetime
 The minimum lifetime to consider sending objects to backing store. 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...
 
unsigned long time_quantum
 The time quantum over which to calculate the bandwidth values. More...
 
uint32_t fetch_attempts
 The number of fetches to attempt when timing out. More...
 
struct llcache_store_parameters store
 

Detailed Description

Parameters to configure the low level cache.

Definition at line 129 of file llcache.h.

Field Documentation

◆ fetch_attempts

uint32_t llcache_parameters::fetch_attempts

The number of fetches to attempt when timing out.

Definition at line 151 of file llcache.h.

Referenced by llcache_initialise(), and netsurf_init().

◆ hysteresis

size_t llcache_parameters::hysteresis

The hysteresis around the target size.

Definition at line 131 of file llcache.h.

◆ limit

size_t llcache_parameters::limit

The target upper bound for the RAM cache size.

Definition at line 130 of file llcache.h.

Referenced by llcache_initialise(), and netsurf_init().

◆ maximum_bandwidth

size_t llcache_parameters::maximum_bandwidth

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

Definition at line 144 of file llcache.h.

Referenced by llcache_initialise().

◆ minimum_bandwidth

size_t llcache_parameters::minimum_bandwidth

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

Definition at line 139 of file llcache.h.

Referenced by llcache_initialise().

◆ minimum_lifetime

int llcache_parameters::minimum_lifetime

The minimum lifetime to consider sending objects to backing store.

Definition at line 134 of file llcache.h.

Referenced by llcache_initialise().

◆ store

struct llcache_store_parameters llcache_parameters::store

Definition at line 153 of file llcache.h.

Referenced by llcache_initialise(), and netsurf_init().

◆ time_quantum

unsigned long llcache_parameters::time_quantum

The time quantum over which to calculate the bandwidth values.

Definition at line 148 of file llcache.h.

Referenced by llcache_initialise().


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