Skip to content

[BUG]: Duplicate create_cache #258

@haochengxia

Description

@haochengxia

Describe the bug
We have two version of create_cache in libCacheSim/bin/cachesim/cache_init.h and libCacheSim/cache/plugin.c

cache_t *create_cache(const char *const cache_alg_name,
common_cache_params_t cc_params, void *specific_params)


static inline cache_t *create_cache(const char *trace_path,
const char *eviction_algo,
const uint64_t cache_size,
const char *eviction_params,

This can cause conflicts when we attempt to load them simultaneously (although this is not common).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions