#include <gpr/ml/PhaseTimers.h>
Public Types | |
| using | Totals = PhaseTotals |
Static Public Member Functions | |
| static void | recordFit (long evaluations, bool unmoved) noexcept |
| static void | recordFitRestart () noexcept |
| static double | residentMegabytes () noexcept |
| static void | notePeak (const char *phase) noexcept |
| static Totals | current () noexcept |
| static Totals | runTotals () noexcept |
| Everything accumulated since the last resetRun(), across reset(). | |
| static void | resetRun () noexcept |
| static void | reset () noexcept |
Static Public Attributes | |
| static double | assembly_seconds = 0.0 |
| static double | factorization_seconds = 0.0 |
| static double | objective_seconds = 0.0 |
| static int | objective_count = 0 |
| static long | objective_rows = 0 |
| static long | objective_channels = 0 |
| static int | gradient_count = 0 |
| static int | geometry_builds = 0 |
| static std::atomic_size_t | pair_contraction_tiles = 0 |
| Configuration pairs contracted by this process, excluding transposes. | |
| static std::atomic_size_t | chart_assembly_tiles = 0 |
| static double | gradient_seconds = 0.0 |
| static double | gradient_inverse_seconds = 0.0 |
| static double | gradient_blocks_seconds = 0.0 |
| static double | gradient_accumulate_seconds = 0.0 |
| static int | factorization_count = 0 |
| static long | factorization_rows = 0 |
| static double | residual_seconds = 0.0 |
| Residual-kernel candidate fits of the active correction. | |
| static double | correction_seconds = 0.0 |
| static double | pair_objective_seconds = 0.0 |
| static double | pair_covariance_seconds = 0.0 |
| static double | pair_contraction_seconds = 0.0 |
| static int | pair_objective_count = 0 |
| static long | pair_max_joint_rows = 0 |
| static double | chart_objective_seconds = 0.0 |
| static int | chart_objective_count = 0 |
| static long | chart_max_joint_rows = 0 |
| static double | support_seconds = 0.0 |
| static double | support_refit_seconds = 0.0 |
| static int | support_expansions = 0 |
| static int | support_refit_count = 0 |
| static double | projection_assembly_seconds = 0.0 |
| static double | projection_factor_seconds = 0.0 |
| static double | projection_cross_seconds = 0.0 |
| static double | projection_solve_seconds = 0.0 |
| static double | projection_schur_seconds = 0.0 |
| static int | projection_count = 0 |
| static long | projection_max_anchor_rows = 0 |
| static double | subset_seconds = 0.0 |
| static double | condition_seconds = 0.0 |
| static double | cholesky_seconds = 0.0 |
| static double | eigensolve_seconds = 0.0 |
| static double | setup_seconds = 0.0 |
| static double | descriptor_seconds = 0.0 |
| static double | posterior_seconds = 0.0 |
| static double | cache_seconds = 0.0 |
| Inverse-distance cache built once before the hyperparameter fit. | |
| static double | curvature_seconds = 0.0 |
| static double | energy_seconds = 0.0 |
| Objective energy outside factor, solve, eigen, kernel, and curvature. | |
| static double | schedule_seconds = 0.0 |
| Optimizer outside the named numerical leaves. | |
| static double | communication_seconds = 0.0 |
| static double | band_inner_seconds = 0.0 |
| static double | band_refit_seconds = 0.0 |
| static double | band_path_seconds = 0.0 |
| static double | band_predict_seconds = 0.0 |
| static long | band_predict_count = 0 |
| static double | band_certificate_seconds = 0.0 |
| static double | band_drift_seconds = 0.0 |
| static double | predict_seconds = 0.0 |
| static int | predict_count = 0 |
| static double | variance_seconds = 0.0 |
| static int | variance_count = 0 |
| static double | oracle_seconds = 0.0 |
| static long | fit_count = 0 |
| static long | fit_evaluations = 0 |
| static long | fit_restarts = 0 |
| static long | unmoved_fit_count = 0 |
| static long | unmoved_fit_evaluations = 0 |
| static double | rss_peak_mb = 0.0 |
| static const char * | rss_peak_phase = "" |
Process-wide wall-time accumulators for the GP model phases that dominate an outer iteration: training-kernel assembly, stable-basis factorization, and hyperparameter-objective evaluations. The outer loop reports and resets them once per iteration. Static so that model copies and parked instances cannot lose the count.
Definition at line 278 of file PhaseTimers.h.
| using gpr::PhaseTimers::Totals = PhaseTotals |
Definition at line 401 of file PhaseTimers.h.
|
inlinestaticnoexcept |
Definition at line 402 of file PhaseTimers.h.
|
inlinestaticnoexcept |
Definition at line 395 of file PhaseTimers.h.
|
inlinestaticnoexcept |
Definition at line 369 of file PhaseTimers.h.
|
inlinestaticnoexcept |
Definition at line 377 of file PhaseTimers.h.
|
inlinestaticnoexcept |
Definition at line 485 of file PhaseTimers.h.
|
inlinestaticnoexcept |
Definition at line 475 of file PhaseTimers.h.
|
inlinestaticnoexcept |
Definition at line 387 of file PhaseTimers.h.
|
inlinestaticnoexcept |
Everything accumulated since the last resetRun(), across reset().
Definition at line 471 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 279 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 353 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 354 of file PhaseTimers.h.
|
inlinestatic |
Whole-band outer-loop scopes. These overlap the numerical leaves above: they attribute control phases, while the leaves attribute kernels.
Definition at line 348 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 350 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 352 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 351 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 349 of file PhaseTimers.h.
|
inlinestatic |
Inverse-distance cache built once before the hyperparameter fit.
Definition at line 335 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 289 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 311 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 310 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 309 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 325 of file PhaseTimers.h.
|
inlinestatic |
Energy and gradient allreduces for oracle batches. Excludes model assembly, factorization, prediction, and their internal MPI calls.
Definition at line 345 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 324 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 301 of file PhaseTimers.h.
|
inlinestatic |
Directional curvature outside the factor, solve, eigen, and kernel walls. Those nested walls stay on their own accumulators.
Definition at line 338 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 332 of file PhaseTimers.h.
|
inlinestatic |
Stable-basis symmetric eigensolve. Kept apart from the Cholesky factor so a train can name which of the two owns the wall.
Definition at line 328 of file PhaseTimers.h.
|
inlinestatic |
Objective energy outside factor, solve, eigen, kernel, and curvature.
Definition at line 340 of file PhaseTimers.h.
|
inlinestatic |
Stable-basis factorizations since the last reset and the rows they factorized in total: which of a refit's factorizations are the objective's subset and which the full-data rebuild.
Definition at line 297 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 298 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 280 of file PhaseTimers.h.
|
inlinestatic |
Hyperparameter fit attempts since resetRun(), with their objective evaluations, retries, and the share spent in fits whose result lies within the optimizer's step tolerance of their start in every parameter. reset() leaves these alone.
Definition at line 364 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 365 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 366 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 286 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 293 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 292 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 285 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 291 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 290 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 284 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 282 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 283 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 281 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 359 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 306 of file PhaseTimers.h.
|
inlinestatic |
Configuration pairs contracted by this process, excluding transposes.
Definition at line 288 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 305 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 308 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 307 of file PhaseTimers.h.
|
inlinestatic |
Candidate fits and support expansion have separate scopes. A selected chart can be refitted against a larger support inside the expansion.
Definition at line 304 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 333 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 356 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 355 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 316 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 321 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 318 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 317 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 322 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 320 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 319 of file PhaseTimers.h.
|
inlinestatic |
Residual-kernel candidate fits of the active correction.
Definition at line 300 of file PhaseTimers.h.
|
inlinestatic |
Peak resident size seen at the end of any timed phase since the last reset (MB), and the phase that set it: where an outer iteration's memory goes (a refit's dense temporaries are freed before the outer line is printed, so the per-outer resident size alone hides them).
Definition at line 385 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 386 of file PhaseTimers.h.
|
inlinestatic |
Optimizer outside the named numerical leaves.
Definition at line 342 of file PhaseTimers.h.
|
inlinestatic |
Model setup before the optimizer, dual-kernel descriptors, and the posterior weights that follow the eigensolve.
Definition at line 331 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 323 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 314 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 315 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 313 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 312 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 367 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 368 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 358 of file PhaseTimers.h.
|
inlinestatic |
Definition at line 357 of file PhaseTimers.h.