NewtonTiming ============ .. py:class:: t3toolbox.backend.optimizers.NewtonTiming :py:attr:`NewtonInfo.timing`: one history row's times, set by ``newton_cg(timing=True)`` (else ``None``). ``window`` is the row's ``wall_time`` window, the same float on a step row; the converged row, which has no ``wall_time``, gets one too. ``seconds`` splits it by phase (:py:class:`PhaseSeconds`); ``compile_seconds`` gives jax's compile wait inside each phase (``None`` on a numpy run, and on a jax whose ``jax.monitoring`` cannot unregister a listener). ``trials`` counts the retractions tried (``None`` on the converged row) and ``accepted_retraction`` is the accepted trial's share of ``trial_retraction`` (``None`` when none was accepted). Row 0 also carries the run's one-offs (``None`` on later rows): ``setup`` (the entry to the loop, the alignment excluded), ``alignment`` (``padded_from``'s padded start) and their compile twins; ``alignment_passes`` and ``reference_passes``, the seconds per pass of the alignment and of the ``'cone'`` reference's loop, breakdowns of ``alignment`` and of ``seconds.reference`` (``None`` when the geometry member cannot report them, e.g. under the uniform whole-loop jit). .. py:attribute:: window :type: float .. py:attribute:: seconds :type: PhaseSeconds .. py:attribute:: compile_seconds :type: t3toolbox.backend.common.typ.Optional[PhaseSeconds] .. py:attribute:: trials :type: t3toolbox.backend.common.typ.Optional[int] .. py:attribute:: accepted_retraction :type: t3toolbox.backend.common.typ.Optional[float] .. py:attribute:: setup :type: t3toolbox.backend.common.typ.Optional[float] :value: None .. py:attribute:: setup_compile :type: t3toolbox.backend.common.typ.Optional[float] :value: None .. py:attribute:: alignment :type: t3toolbox.backend.common.typ.Optional[float] :value: None .. py:attribute:: alignment_compile :type: t3toolbox.backend.common.typ.Optional[float] :value: None .. py:attribute:: alignment_passes :type: t3toolbox.backend.common.typ.Optional[t3toolbox.backend.common.typ.Tuple[float, ...]] :value: None .. py:attribute:: reference_passes :type: t3toolbox.backend.common.typ.Optional[t3toolbox.backend.common.typ.Tuple[float, ...]] :value: None