Searched refs:remaining_time (Results 1 – 2 of 2) sorted by relevance
165 int remaining_time = 0; in UpdateProgress() local167 remaining_time = (int)(elapsed_time * remaining_blocks / blocks_done_); in UpdateProgress()171 if (remaining_time_ == -1 || remaining_time < remaining_time_ || in UpdateProgress()172 remaining_time > remaining_time_ + 60) { in UpdateProgress()173 remaining_time_ = remaining_time; in UpdateProgress()175 std::to_string(remaining_time)); in UpdateProgress()
1950 auto remaining_time = timeout - duration_cast<std::chrono::milliseconds>(passed_time); in GetRemainingTime() local1951 if (remaining_time.count() <= 0) { in GetRemainingTime()1953 << remaining_time.count() << "ms remaining)"; in GetRemainingTime()1958 return remaining_time; in GetRemainingTime()2064 auto remaining_time = GetRemainingTime(params.timeout_ms, begin); in MapPartitionWithSnapshot() local2065 if (remaining_time.count() < 0) return false; in MapPartitionWithSnapshot()2069 cow_params.timeout_ms = remaining_time; in MapPartitionWithSnapshot()2082 remaining_time = GetRemainingTime(params.timeout_ms, begin); in MapPartitionWithSnapshot()2083 if (remaining_time.count() < 0) return false; in MapPartitionWithSnapshot()2094 if (!MapSourceDevice(lock, params.GetPartitionName(), remaining_time, in MapPartitionWithSnapshot()[all …]