|
LSSTApplications
10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
|
This is a structure for keeping track of how long the interpolation methods spend on different parts of the interpolation. More...
#include <GaussianProcess.h>
Public Member Functions | |
| GaussianProcessTimer () | |
| void | reset () |
| Resets all of the data members of GaussianProcessTimer to zero. More... | |
| void | start () |
| Starts the timer for an individual call to an interpolation routine. More... | |
| void | addToEigen () |
| Adds time to _eigenTime. More... | |
| void | addToVariance () |
| Adds time to _varianceTime. More... | |
| void | addToSearch () |
| Adds time to _searchTime. More... | |
| void | addToIteration () |
| Adds time to _iterationTime. More... | |
| void | addToTotal (int i) |
| Adds time to _totalTime and adds counts to _interpolationCount. More... | |
| void | display () |
| Displays the current values of all times and _interpolationCount. More... | |
Private Attributes | |
| double | _before |
| double | _beginning |
| double | _eigenTime |
| double | _iterationTime |
| double | _searchTime |
| double | _varianceTime |
| double | _totalTime |
| int | _interpolationCount |
This is a structure for keeping track of how long the interpolation methods spend on different parts of the interpolation.
_eigenTime keeps track of how much time is spent using Eigen's linear algebra packages
_iterationTime keeps track of how much time is spent iterating over matrix indices (this is also a catch-all for time that does not obviously fit in the other categories)
_searchTime keeps track of how much time is spent on nearest neighbor searches (when applicable)
_varianceTime keeps track of how much time is spent calculating the variance of our interpolated function value (note: time spent using Eigen packages for this purpose is tallied here, not in _eigenTime)
_totalTime keeps track of how much time total is spent on interpolations
_interpolationCount keeps track of how many points have been interpolated
Definition at line 66 of file GaussianProcess.h.
| lsst.afw.math::GaussianProcessTimer::GaussianProcessTimer | ( | ) |
Definition at line 37 of file GaussianProcess.cc.
| void lsst.afw.math::GaussianProcessTimer::addToEigen | ( | ) |
| void lsst.afw.math::GaussianProcessTimer::addToIteration | ( | ) |
Adds time to _iterationTime.
Definition at line 89 of file GaussianProcess.cc.
| void lsst.afw.math::GaussianProcessTimer::addToSearch | ( | ) |
| void lsst.afw.math::GaussianProcessTimer::addToTotal | ( | int | i | ) |
Adds time to _totalTime and adds counts to _interpolationCount.
| [in] | i | the number of counts to add to _interpolationCount |
Definition at line 97 of file GaussianProcess.cc.
| void lsst.afw.math::GaussianProcessTimer::addToVariance | ( | ) |
Adds time to _varianceTime.
Definition at line 73 of file GaussianProcess.cc.
| void lsst.afw.math::GaussianProcessTimer::display | ( | ) |
Displays the current values of all times and _interpolationCount.
Definition at line 105 of file GaussianProcess.cc.
| void lsst.afw.math::GaussianProcessTimer::reset | ( | ) |
Resets all of the data members of GaussianProcessTimer to zero.
Definition at line 48 of file GaussianProcess.cc.
| void lsst.afw.math::GaussianProcessTimer::start | ( | ) |
Starts the timer for an individual call to an interpolation routine.
Definition at line 59 of file GaussianProcess.cc.
|
private |
Definition at line 116 of file GaussianProcess.h.
|
private |
Definition at line 116 of file GaussianProcess.h.
|
private |
Definition at line 117 of file GaussianProcess.h.
|
private |
Definition at line 118 of file GaussianProcess.h.
|
private |
Definition at line 117 of file GaussianProcess.h.
|
private |
Definition at line 117 of file GaussianProcess.h.
|
private |
Definition at line 117 of file GaussianProcess.h.
|
private |
Definition at line 117 of file GaussianProcess.h.
1.8.5