Skip to content

Commit 9f878f7

Browse files
committed
Clean up
1 parent ec142ca commit 9f878f7

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

libCacheSim/cache/eviction/3LCache/ThreeLCache.hpp

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
#include <unordered_set>
1818
#include <vector>
1919

20+
#include "cache.h"
2021
#include "dataStructure/sparsepp/spp.h"
2122
#include "libCacheSim/cache.h"
22-
#include "cache.h"
2323
#include "request.h"
2424

2525
using namespace std;
@@ -359,13 +359,9 @@ class ThreeLCacheCache : public webcachesim::Cache {
359359

360360
void update_stat_periodic() override;
361361

362-
void setSize(const uint64_t &cs) {
363-
_cacheSize = cs;
364-
}
362+
void setSize(const uint64_t &cs) { _cacheSize = cs; }
365363

366-
bool exist(const int64_t &key) {
367-
return key_map.find(key) != key_map.end();
368-
}
364+
bool exist(const int64_t &key) { return key_map.find(key) != key_map.end(); }
369365

370366
pair<uint64_t, int32_t> evict_predobj();
371367

0 commit comments

Comments
 (0)