Searched refs:duration (Results 1 – 4 of 4) sorted by relevance
574 std::chrono::duration<double> duration = std::chrono::system_clock::now() - start; in InstallPackage() local575 int time_total = static_cast<int>(duration.count()); in InstallPackage()647 std::chrono::duration<double> duration = std::chrono::system_clock::now() - t0; in verify_package() local648 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()
791 int duration = progressScopeDuration; in ProgressThreadLoop() local792 if (progressBarType == DETERMINATE && duration > 0) { in ProgressThreadLoop()794 float p = 1.0 * elapsed / duration; in ProgressThreadLoop()