We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80680b4 commit 4fd8ed0Copy full SHA for 4fd8ed0
include/CacheManager.h
@@ -14,6 +14,7 @@ class CacheManager {
14
void put(int key, int value);
15
void switchPolicy(std::atomic<bool>& stop_flag);
16
std::string getCurrentPolicyName() const;
17
+ void reset();
18
19
private:
20
enum Policy { LFU_P, LRU_P };
0 commit comments