Ipopt  3.11.9
IpTimingStatistics.hpp
Go to the documentation of this file.
1 // Copyright (C) 2005, 2008 International Business Machines and others.
2 // All Rights Reserved.
3 // This code is published under the Eclipse Public License.
4 //
5 // $Id: IpTimingStatistics.hpp 2005 2011-06-06 12:55:16Z stefan $
6 //
7 // Authors: Andreas Waechter IBM 2005-09-19
8 
9 #ifndef __IPTIMINGSTATISTICS_HPP__
10 #define __IPTIMINGSTATISTICS_HPP__
11 
12 #include "IpReferenced.hpp"
13 #include "IpJournalist.hpp"
14 #include "IpTimedTask.hpp"
15 
16 namespace Ipopt
17 {
21  {
22  public:
27  {}
28 
31  {}
33 
35  void ResetTimes();
36 
39  EJournalLevel level,
40  EJournalCategory category) const;
41 
45  {
46  return OverallAlgorithm_;
47  }
49  {
51  }
53  {
54  return InitializeIterates_;
55  }
57  {
58  return UpdateHessian_;
59  }
61  {
62  return OutputIteration_;
63  }
65  {
67  }
69  {
71  }
73  {
75  }
77  {
78  return AcceptTrialPoint_;
79  }
81  {
82  return CheckConvergence_;
83  }
84 
86  {
87  return PDSystemSolverTotal_;
88  }
90  {
92  }
94  {
95  return ComputeResiduals_;
96  }
98  {
100  }
102  {
103  return LinearSystemScaling_;
104  }
106  {
108  }
110  {
112  }
114  {
115  return LinearSystemBackSolve_;
116  }
118  {
120  }
122  {
124  }
126  {
127  return QualityFunctionSearch_;
128  }
130  {
131  return TryCorrector_;
132  }
133 
135  {
136  return Task1_;
137  }
139  {
140  return Task2_;
141  }
143  {
144  return Task3_;
145  }
147  {
148  return Task4_;
149  }
151  {
152  return Task5_;
153  }
155  {
156  return Task6_;
157  }
159 
160  private:
171 
175 
188 
201 
209  };
210 
211 } // namespace Ipopt
212 
213 #endif
Class responsible for all message output.
ReferencedObject class.
This class is used to collect timing information for a particular task.
Definition: IpTimedTask.hpp:19
This class collects all timing statistics for Ipopt.
virtual ~TimingStatistics()
Default destructor.
TimedTask & PDSystemSolverSolveOnce()
TimedTask & ComputeAcceptableTrialPoint()
TimedTask & StdAugSystemSolverMultiSolve()
void PrintAllTimingStatistics(Journalist &jnlst, EJournalLevel level, EJournalCategory category) const
Method for printing all timing information.
TimedTask & ComputeSearchDirection()
TimedTask & LinearSystemStructureConverterInit()
void ResetTimes()
Method for resetting all times.
TimingStatistics()
Default constructor.
TimedTask & PrintProblemStatistics()
TimedTask & UpdateBarrierParameter()
TimedTask & LinearSystemSymbolicFactorization()
TimedTask & LinearSystemStructureConverter()
TimedTask & LinearSystemFactorization()
void operator=(const TimingStatistics &)
Overloaded Equals Operator.
TimingStatistics(const TimingStatistics &)
Copy Constructor.
EJournalCategory
Category Selection Enum.
EJournalLevel
Print Level Enum.