File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -59,12 +59,17 @@ namespace benchmark {
59
59
uint64_t minCycles;
60
60
uint64_t maxCycles;
61
61
public:
62
- State (std::string _name, duration _maxElapsed) : name(_name), maxElapsed(_maxElapsed), count(0 ) {
63
- minTime = duration::max ();
64
- maxTime = duration::zero ();
65
- minCycles = std::numeric_limits<uint64_t >::max ();
66
- maxCycles = std::numeric_limits<uint64_t >::min ();
67
- countMask = 1 ;
62
+ State (std::string _name, duration _maxElapsed) :
63
+ name (_name),
64
+ maxElapsed (_maxElapsed),
65
+ minTime (duration::max()),
66
+ maxTime (duration::zero()),
67
+ count (0 ),
68
+ countMask (1 ),
69
+ beginCycles (0 ),
70
+ lastCycles (0 ),
71
+ minCycles (std::numeric_limits<uint64_t >::max()),
72
+ maxCycles (std::numeric_limits<uint64_t >::min()) {
68
73
}
69
74
bool KeepRunning ();
70
75
};
You can’t perform that action at this time.
0 commit comments