11 std::chrono::nanoseconds
time;
14 auto sec = [](
auto t) {
return std::chrono::duration<double>(t).count(); };
17 os << t.
count <<
" (";
18 auto old = os.flags();
19 auto prec = os.precision(3);
20 os << std::scientific << std::setw(9) << 1
e6 *
sec(t.
time) <<
" µs, "
21 << std::setw(9) << 1
e6 *
sec(t.
time) /
static_cast<double>(t.
count)
35 os <<
" proj_multipliers:"
37 os <<
" prox_grad_step:"
40 << CountResult{c.
f, c.
time.
f};
47 os <<
" grad_f_grad_g_prod:"
50 << CountResult{c.
g, c.
time.
g};
68 << CountResult{c.
ψ, c.
time.
ψ};
73 os <<
"+ -----------------:\n"
std::chrono::nanoseconds time
std::ostream & operator<<(std::ostream &os, PANOCStopCrit s)
std::chrono::nanoseconds grad_gi
std::chrono::nanoseconds proj_diff_g
unsigned proj_multipliers
std::chrono::nanoseconds f
std::chrono::nanoseconds g
std::chrono::nanoseconds jac_g
std::chrono::nanoseconds ψ_grad_ψ
std::chrono::nanoseconds grad_f_grad_g_prod
struct alpaqa::EvalCounter::EvalTimer time
std::chrono::nanoseconds hess_L
std::chrono::nanoseconds f_grad_f
std::chrono::nanoseconds grad_f
std::chrono::nanoseconds hess_ψ
std::chrono::nanoseconds grad_ψ
unsigned grad_f_grad_g_prod
std::chrono::nanoseconds hess_ψ_prod
std::chrono::nanoseconds prox_grad_step
std::chrono::nanoseconds ψ
std::chrono::nanoseconds f_g
std::chrono::nanoseconds grad_L
std::chrono::nanoseconds proj_multipliers
std::chrono::nanoseconds grad_g_prod
std::chrono::nanoseconds hess_L_prod