SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::utils::dependencies::GraphTimingFactory< Clock > Struct Template Reference

Bind one generic timing observer after the model's complete graph type is known. More...

#include <timing.hpp>

Collaboration diagram for serif::utils::dependencies::GraphTimingFactory< Clock >:
[legend]

Public Member Functions

template<typename GraphT>
auto operator() (std::type_identity< GraphT > graph) const
 Include edge callbacks and the node callable, excluding source checks and cache publication.
 

Public Attributes

GraphTiming & timing
 
std::shared_ptr< Clock > clock
 

Detailed Description

template<NodeTimingClock Clock = SteadyNodeClock>
struct serif::utils::dependencies::GraphTimingFactory< Clock >

Bind one generic timing observer after the model's complete graph type is known.

Member Function Documentation

◆ operator()()

template<NodeTimingClock Clock = SteadyNodeClock>
template<typename GraphT>
auto serif::utils::dependencies::GraphTimingFactory< Clock >::operator() ( std::type_identity< GraphT > graph) const
inlinenodiscard

Include edge callbacks and the node callable, excluding source checks and cache publication.

Note
Reused or unrequested nodes produce no sample. Keep regular wall/linear-solve measurements alongside these durations: action applications generally execute after graph preparation.

Member Data Documentation

◆ clock

template<NodeTimingClock Clock = SteadyNodeClock>
std::shared_ptr<Clock> serif::utils::dependencies::GraphTimingFactory< Clock >::clock

◆ timing

template<NodeTimingClock Clock = SteadyNodeClock>
GraphTiming& serif::utils::dependencies::GraphTimingFactory< Clock >::timing

The documentation for this struct was generated from the following file: