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)
34 << CountResult{c.
f, c.
time.
f};
40 << CountResult{c.
h, c.
time.
h};
44 << CountResult{c.
l, c.
time.
l};
55 os <<
" add_R_masked:"
57 os <<
" add_S_masked:"
59 os <<
" add_R_prod_masked:"
61 os <<
" add_S_prod_masked:"
67 os <<
" grad_constr_prod:"
69 os <<
" grad_constr_prod_N:"
71 os <<
" add_gn_hess_constr:"
73 os <<
"add_gn_hess_constr_N:"
std::chrono::nanoseconds time
std::ostream & operator<<(std::ostream &os, PANOCStopCrit s)
unsigned add_S_prod_masked
std::chrono::nanoseconds add_Q_N
unsigned add_gn_hess_constr_N
std::chrono::nanoseconds grad_constr_prod_N
std::chrono::nanoseconds f
std::chrono::nanoseconds l_N
std::chrono::nanoseconds add_S_masked
std::chrono::nanoseconds q_N
std::chrono::nanoseconds add_R_prod_masked
unsigned add_R_prod_masked
std::chrono::nanoseconds l
std::chrono::nanoseconds constr_N
std::chrono::nanoseconds add_R_masked
std::chrono::nanoseconds add_S_prod_masked
unsigned grad_constr_prod_N
std::chrono::nanoseconds jac_f
std::chrono::nanoseconds constr
std::chrono::nanoseconds grad_constr_prod
std::chrono::nanoseconds qr
unsigned grad_constr_prod
unsigned add_gn_hess_constr
std::chrono::nanoseconds add_Q
std::chrono::nanoseconds grad_f_prod
std::chrono::nanoseconds h_N
std::chrono::nanoseconds h
struct alpaqa::OCPEvalCounter::OCPEvalTimer time
std::chrono::nanoseconds add_gn_hess_constr
std::chrono::nanoseconds add_gn_hess_constr_N