equal
deleted
inserted
replaced
1045 // normalized using the boost factor to avoid artificial deflation |
1045 // normalized using the boost factor to avoid artificial deflation |
1046 // of the duration when boost mode is enabled. |
1046 // of the duration when boost mode is enabled. |
1047 const double duration = (_end_of_last - _start_of_last).seconds(); |
1047 const double duration = (_end_of_last - _start_of_last).seconds(); |
1048 const double normalized_duration = duration * boost_factor; |
1048 const double normalized_duration = duration * boost_factor; |
1049 _normalized_duration.add(normalized_duration); |
1049 _normalized_duration.add(normalized_duration); |
|
1050 } |
|
1051 |
|
1052 bool ZStatCycle::is_first() { |
|
1053 return _ncycles == 0; |
|
1054 } |
|
1055 |
|
1056 bool ZStatCycle::is_warm() { |
|
1057 return _ncycles >= 3; |
1050 } |
1058 } |
1051 |
1059 |
1052 uint64_t ZStatCycle::ncycles() { |
1060 uint64_t ZStatCycle::ncycles() { |
1053 return _ncycles; |
1061 return _ncycles; |
1054 } |
1062 } |