14#include "arccore/trace/TimeMetric.h"
15#include "arccore/trace/ITimeMetricCollector.h"
28inline TimeMetricAction _build(ITimeMetricCollector* c,
TimeMetricPhase p)
31 return TimeMetricAction(c,TimeMetricActionBuildInfo(String(),(
int)p));
32 return TimeMetricAction();
39void StandardPhaseTimeMetrics::
40initialize(ITimeMetricCollector* collector)
44 m_message_passing_phase = _build(collector,TimeMetricPhase::MessagePassing);
45 m_input_output_phase = _build(collector,TimeMetricPhase::InputOutput);
46 m_computation_phase = _build(collector,TimeMetricPhase::Computation);
53timeMetricPhaseMessagePassing(ITimeMetricCollector* c)
55 return _build(c,TimeMetricPhase::MessagePassing);
62timeMetricPhaseInputOutput(ITimeMetricCollector* c)
64 return _build(c,TimeMetricPhase::InputOutput);
71timeMetricPhaseComputation(ITimeMetricCollector* c)
73 return _build(c,TimeMetricPhase::Computation);
Espace de nom de Arccore.
TimeMetricPhase
Catégories standards pour les phases temporelles.