Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 427 Bytes

File metadata and controls

16 lines (12 loc) · 427 Bytes

Plugin System

We enable user add any customized cache via libCacheSim's plugin system.

With user-defined sive python hook functions,

  py::function cache_init_hook;
  py::function cache_hit_hook;
  py::function cache_miss_hook;
  py::function cache_eviction_hook;
  py::function cache_remove_hook;
  py::function cache_free_hook;

We can simulate and determine the cache eviction behavior from the python side.