libCacheSim documentation

Add your content using reStructuredText syntax. See the reStructuredText documentation for details.

Docs

struct cache

Public Members

struct hashtable *hashtable
cache_init_func_ptr cache_init
cache_free_func_ptr cache_free
cache_get_func_ptr get
cache_find_func_ptr find
cache_can_insert_func_ptr can_insert
cache_insert_func_ptr insert
cache_need_eviction_func_ptr need_eviction
cache_evict_func_ptr evict
cache_remove_func_ptr remove
cache_to_evict_func_ptr to_evict
cache_get_occupied_byte_func_ptr get_occupied_byte
cache_get_n_obj_func_ptr get_n_obj
cache_print_cache_func_ptr print_cache
admissioner_t *admissioner
struct prefetcher *prefetcher
void *eviction_params
int64_t n_req
int64_t n_obj
int64_t occupied_byte
cache_obj_t *to_evict_candidate
int64_t to_evict_candidate_gen_vtime
int64_t cache_size
int64_t default_ttl
int32_t obj_md_size
char cache_name[CACHE_NAME_ARRAY_LEN]
char init_params[CACHE_INIT_PARAMS_LEN]
const char *last_request_metadata
int32_t *future_stack_dist
int64_t future_stack_dist_array_size
int64_t log_eviction_age_cnt[EVICTION_AGE_ARRAY_SZE]