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) << 1e6 * sec(t.
time) <<
" µs, "
21 << std::setw(9) << 1e6 * sec(t.
time) /
static_cast<double>(t.
count)
32#define ALPAQA_STRINGIFY(a) ALPAQA_STRINGIFY_IMPL(a)
33#define ALPAQA_STRINGIFY_IMPL(a) #a
34#define ALPAQA_PRINT_EVAL(x) \
36 os << std::setw(53) << ALPAQA_STRINGIFY(x) ":" \
37 << CountResult{c.x, c.time.x}; \
62 os <<
"+ --------------------------------------------------:\n"
63 << std::setw(53) <<
"total:"
std::chrono::nanoseconds time
std::ostream & operator<<(std::ostream &os, PANOCStopCrit s)
#define ALPAQA_PRINT_EVAL(x)
std::chrono::nanoseconds grad_gi
unsigned constraints_jacobian
std::chrono::nanoseconds constraints
unsigned lagrangian_hessian
unsigned inactive_indices_res_lna
unsigned lagrangian_hessian_product
std::chrono::nanoseconds projecting_difference_constraints
unsigned augmented_lagrangian_gradient
std::chrono::nanoseconds inactive_indices_res_lna
unsigned proximal_gradient_step
struct alpaqa::EvalCounter::EvalTimer time
unsigned objective_gradient
std::chrono::nanoseconds augmented_lagrangian_hessian
unsigned projection_multipliers
std::chrono::nanoseconds augmented_lagrangian
unsigned augmented_lagrangian_hessian
std::chrono::nanoseconds proximal_gradient_step
unsigned objective_and_gradient
unsigned augmented_lagrangian_hessian_product
std::chrono::nanoseconds constraints_jacobian
std::chrono::nanoseconds objective
std::chrono::nanoseconds lagrangian_hessian
unsigned augmented_lagrangian
unsigned augmented_lagrangian_and_gradient
std::chrono::nanoseconds objective_gradient
std::chrono::nanoseconds constraints_gradient_product
std::chrono::nanoseconds augmented_lagrangian_and_gradient
std::chrono::nanoseconds augmented_lagrangian_gradient
std::chrono::nanoseconds objective_and_constraints
std::chrono::nanoseconds augmented_lagrangian_hessian_product
std::chrono::nanoseconds projection_multipliers
unsigned projecting_difference_constraints
unsigned objective_gradient_and_constraints_gradient_product
std::chrono::nanoseconds lagrangian_gradient
unsigned lagrangian_gradient
unsigned constraints_gradient_product
unsigned objective_and_constraints
std::chrono::nanoseconds lagrangian_hessian_product
std::chrono::nanoseconds objective_and_gradient
std::chrono::nanoseconds objective_gradient_and_constraints_gradient_product