Expand description
Per-task timing accumulator.
Mirrors Common/IpTimedTask.hpp (Common/IpDebug.{hpp,cpp} is
omitted — debug tracing is replaced by the journalist).
Structs§
- Timed
Guard - Drop-on-end guard returned by
TimedTask::guard. CallsTimedTask::end_if_startedin its destructor so a function with many exit paths can wrap a section with a single line. - Timed
Task - Equivalent to
Ipopt::TimedTask. UseTimedTask::start/TimedTask::endaround a section to accumulate cpu/system/wall time.TimedTask::end_if_startedis the exception-safe variant. - Timing
Statistics - Aggregate of per-subsystem
TimedTaskcounters. MirrorsAlgorithm/IpTimingStatistics.{hpp,cpp}. Owned byIpoptApplicationand shared (viaRc) with the algorithm, NLP, and KKT solver so each subsystem can bump its own field. Reported at the end of a solve whenprint_timing_statistics yes.