Large page support for cache

Bug fixes
This commit is contained in:
tevador
2019-01-18 17:57:47 +01:00
parent 8b1102ee05
commit 4fb168e249
13 changed files with 135 additions and 33 deletions
+2 -2
View File
@@ -53,7 +53,7 @@ public:
isRunning = false;
}
}
double getElapsed() {
double getElapsed() const {
return getElapsedNanosec() / 1e+9;
}
private:
@@ -63,7 +63,7 @@ private:
uint64_t elapsed;
bool isRunning;
uint64_t getElapsedNanosec() {
uint64_t getElapsedNanosec() const {
uint64_t elns = elapsed;
if (isRunning) {
chrono_t endMark = std::chrono::high_resolution_clock::now();