| 287 | } |
| 288 | |
| 289 | Duration DurationSegment::startLate() const |
| 290 | { |
| 291 | // When startLate_ < releaseTime_, we need to wait until releaseTime_ before |
| 292 | // we can start. That wait always incurs time warp. |
| 293 | return std::max(startLate_, releaseTime_); |
| 294 | } |
| 295 | |
| 296 | Duration DurationSegment::endEarly() const |
| 297 | { |