mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[yul-phaser] AlgorithmRunner: Measure CPU time rather than wall-clock time
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
#include <tools/yulPhaser/Population.h>
|
||||
#include <tools/yulPhaser/ProgramCache.h>
|
||||
|
||||
#include <chrono>
|
||||
#include <ctime>
|
||||
#include <optional>
|
||||
#include <ostream>
|
||||
|
||||
@@ -73,8 +73,8 @@ public:
|
||||
private:
|
||||
void printRoundSummary(
|
||||
size_t _round,
|
||||
std::chrono::steady_clock::time_point _roundTimeStart,
|
||||
std::chrono::steady_clock::time_point _totalTimeStart
|
||||
clock_t _roundTimeStart,
|
||||
clock_t _totalTimeStart
|
||||
) const;
|
||||
void printInitialPopulation() const;
|
||||
void printCacheStats() const;
|
||||
|
||||
Reference in New Issue
Block a user