Ipopt  3.12.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 
173  void operator=(const TimingStatistics&);
175 
188 
201 
209  };
210 
211 } // namespace Ipopt
212 
213 #endif
void operator=(const TimingStatistics &)
Overloaded Equals Operator.
TimedTask & LinearSystemSymbolicFactorization()
This class is used to collect timing information for a particular task.
Definition: IpTimedTask.hpp:18
void ResetTimes()
Method for resetting all times.
TimedTask & ComputeSearchDirection()
TimedTask & PDSystemSolverSolveOnce()
TimedTask & ComputeAcceptableTrialPoint()
EJournalLevel
Print Level Enum.
void PrintAllTimingStatistics(Journalist &jnlst, EJournalLevel level, EJournalCategory category) const
Method for printing all timing information.
TimedTask & LinearSystemStructureConverter()
This class collects all timing statistics for Ipopt.
ReferencedObject class.
TimedTask & StdAugSystemSolverMultiSolve()
TimedTask & LinearSystemStructureConverterInit()
TimedTask & PrintProblemStatistics()
Class responsible for all message output.
TimingStatistics()
Default constructor.
TimedTask & UpdateBarrierParameter()
TimedTask & LinearSystemFactorization()
EJournalCategory
Category Selection Enum.
virtual ~TimingStatistics()
Default destructor.