|
LSSTApplications
8.0.0.0+107,8.0.0.1+13,9.1+18,9.2,master-g084aeec0a4,master-g0aced2eed8+6,master-g15627eb03c,master-g28afc54ef9,master-g3391ba5ea0,master-g3d0fb8ae5f,master-g4432ae2e89+36,master-g5c3c32f3ec+17,master-g60f1e072bb+1,master-g6a3ac32d1b,master-g76a88a4307+1,master-g7bce1f4e06+57,master-g8ff4092549+31,master-g98e65bf68e,master-ga6b77976b1+53,master-gae20e2b580+3,master-gb584cd3397+53,master-gc5448b162b+1,master-gc54cf9771d,master-gc69578ece6+1,master-gcbf758c456+22,master-gcec1da163f+63,master-gcf15f11bcc,master-gd167108223,master-gf44c96c709
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 | ( | ) |
Adds time to _searchTime.
Definition at line 81 of file GaussianProcess.cc.
| 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