Nektar++
Loading...
Searching...
No Matches
Public Attributes | List of all members
Nektar::LibUtilities::SharedPayloadResolverTimings Struct Reference

Optional breakdown of wall-clock time spent in SharedPayloadResolver::Resolve()'s two kinds of round trip, for isolating the fixed per-Exchange() synchronisation cost from payload-volume cost. Not templated on PayloadT – it only measures time, so one type serves every SharedPayloadResolver<T> instantiation. More...

#include <SharedPayloadResolver.hpp>

Public Attributes

double discoverySeconds = 0.0
 Wall time in the composed ConnectivityResolver's two Exchange() calls (ids out, sharer ranks back), summed. See ConnectivityResolverTimings for the individual request/reply split.
 
double payloadExchangeSeconds = 0.0
 Wall time in this class's own single direct payload Exchange() call (this rank's payloads addressed straight to the sharer ranks discovery found).
 

Detailed Description

Optional breakdown of wall-clock time spent in SharedPayloadResolver::Resolve()'s two kinds of round trip, for isolating the fixed per-Exchange() synchronisation cost from payload-volume cost. Not templated on PayloadT – it only measures time, so one type serves every SharedPayloadResolver<T> instantiation.

Pass a pointer to Resolve() to have it filled in; leave null (the default) for zero measurement overhead. Both fields are seconds, timed strictly around Exchange() call(s) – local packing/unpacking and the id-grouping sort in Resolve() are excluded from both. discoverySeconds is the sum of the composed ConnectivityResolver's own ConnectivityResolverTimings::requestExchangeSeconds and ::replyExchangeSeconds (see that struct for the finer per-round split), so – unlike an earlier revision of this struct, which wrapped the whole ConnectivityResolver::Resolve() call including its local gather/pack/ unpack work – the two fields here are now genuinely both exchange-only and directly comparable to each other.

Placed here, before SharedPayloadResolver's own class-level @class doc block, rather than between it and the class definition: an intervening documented entity there previously left the class doc orphaned from its class in practice, relying entirely on the explicit @class command to reattach it – fragile against a future edit that drops that command.

Definition at line 103 of file SharedPayloadResolver.hpp.

Member Data Documentation

◆ discoverySeconds

double Nektar::LibUtilities::SharedPayloadResolverTimings::discoverySeconds = 0.0

Wall time in the composed ConnectivityResolver's two Exchange() calls (ids out, sharer ranks back), summed. See ConnectivityResolverTimings for the individual request/reply split.

Definition at line 108 of file SharedPayloadResolver.hpp.

Referenced by Nektar::LibUtilities::SharedPayloadResolver< PayloadT >::ResolvePersistent().

◆ payloadExchangeSeconds

double Nektar::LibUtilities::SharedPayloadResolverTimings::payloadExchangeSeconds = 0.0

Wall time in this class's own single direct payload Exchange() call (this rank's payloads addressed straight to the sharer ranks discovery found).

Definition at line 113 of file SharedPayloadResolver.hpp.

Referenced by Nektar::LibUtilities::SharedPayloadResolver< PayloadT >::ResolvePersistent().