Searched refs:duration (Results 1 – 4 of 4) sorted by relevance
592 std::chrono::duration<double> duration = std::chrono::system_clock::now() - start; in InstallPackage() local593 int time_total = static_cast<int>(duration.count()); in InstallPackage()665 std::chrono::duration<double> duration = std::chrono::system_clock::now() - t0; in verify_package() local666 ui->Print("Update package verification took %.1f s (result %d).\n", duration.count(), err); in verify_package()
287 double duration = in redirect_stdio() local288 std::chrono::duration_cast<std::chrono::duration<double>>(now - start).count(); in redirect_stdio()290 fprintf(log_fp, "[%12.6lf]\n", duration); in redirect_stdio()292 fprintf(log_fp, "[%12.6lf] %s", duration, line); in redirect_stdio()
532 std::chrono::duration<double> duration = std::chrono::system_clock::now() - start; in uncrypt_wrapper() local533 int count = static_cast<int>(duration.count()); in uncrypt_wrapper()
794 int duration = progressScopeDuration; in ProgressThreadLoop() local795 if (progressBarType == DETERMINATE && duration > 0) { in ProgressThreadLoop()797 float p = 1.0 * elapsed / duration; in ProgressThreadLoop()