Lines Matching refs:elapsed_secs
354 int elapsed_secs;
415 elapsed_secs = now - last_checkpoint_time;
416 if (elapsed_secs >= CheckPointTimeout)
466 elapsed_secs < CheckPointWarning)
470 elapsed_secs,
471 elapsed_secs),
550 elapsed_secs = now - last_checkpoint_time;
551 if (elapsed_secs >= CheckPointTimeout)
553 cur_timeout = CheckPointTimeout - elapsed_secs;
556 elapsed_secs = now - last_xlog_switch_time;
557 if (elapsed_secs >= XLogArchiveTimeout)
559 cur_timeout = Min(cur_timeout, XLogArchiveTimeout - elapsed_secs);