File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 9393 add_compile_definitions (LOGLEVEL=7)
9494endif ()
9595
96+ set (CMAKE_CXX_STANDARD 17)
97+ set (CMAKE_CXX_STANDARD_REQUIRED ON )
98+
9699# Find python and pybind11
97100find_package (Python REQUIRED COMPONENTS Interpreter Development.Module)
98101find_package (pybind11 CONFIG REQUIRED)
Original file line number Diff line number Diff line change 1+ # Plugin System
2+
3+ We enable user add any customized cache via libCacheSim's plugin system.
4+
5+ With user-defined sive python hook functions,
6+
7+ ``` c++
8+ py::function cache_init_hook;
9+ py::function cache_hit_hook;
10+ py::function cache_miss_hook;
11+ py::function cache_eviction_hook;
12+ py::function cache_remove_hook;
13+ py::function cache_free_hook;
14+ ```
15+
16+ We can simulate and determine the cache eviction behavior from the python side.
You can’t perform that action at this time.
0 commit comments