[yul-phaser] Add --show-cache-stats option

This commit is contained in:
Kamil Śliwak
2020-03-25 10:21:18 +01:00
parent 3e35decf2b
commit cd16a6e178
4 changed files with 148 additions and 0 deletions
+2
View File
@@ -51,6 +51,7 @@ public:
bool showInitialPopulation = false;
bool showOnlyTopChromosome = false;
bool showRoundInfo = true;
bool showCacheStats = false;
};
AlgorithmRunner(
@@ -76,6 +77,7 @@ private:
std::chrono::steady_clock::time_point _totalTimeStart
) const;
void printInitialPopulation() const;
void printCacheStats() const;
void populationAutosave() const;
void randomiseDuplicates();
void cacheClear();