12#ifndef ARCANE_CORE_ITIMESTATS_H
13#define ARCANE_CORE_ITIMESTATS_H
59 virtual void beginAction(
const String& action_name) = 0;
60 virtual void endAction(
const String& action_name,
bool print_time) = 0;
101 const String& name,
bool use_elapsed_time =
false) = 0;
133 virtual void saveTimeValues(
Properties* p) = 0;
134 virtual void mergeTimeValues(
Properties* p) = 0;
146 virtual void resetStats(
const String& action_name) = 0;
Declarations of Arcane's general types.
Interface of the parallelism manager for a subdomain.
Interface managing statistics on execution.
Interface managing execution time statistics.
virtual Real elapsedTime(eTimePhase phase)=0
Real elapsed time for phase phase.
virtual void dumpTimeAndMemoryUsage(IParallelMng *pm)=0
Displays the current date and memory consumption.
virtual void dumpCurrentStats(const String &name)=0
Displays statistics for an action.
virtual void endGatherStats()=0
Stops time collection.
virtual void beginGatherStats()=0
Starts time collection.
virtual ITimeMetricCollector * metricCollector()=0
Associated collection interface.
virtual void dumpStats(std::ostream &ostr, bool is_verbose, Real nb, const String &name, bool use_elapsed_time=false)=0
Displays execution time statistics.
virtual bool isGathering() const =0
Indicates if statistics are active.
virtual void notifyNewIterationLoop()=0
Notifies that a new iteration of the calculation loop begins.
virtual Real elapsedTime(eTimePhase phase, const String &action)=0
Elapsed time for a phase of an action.
virtual void dumpStatsJSON(JSONWriter &writer)=0
Serializes the temporal statistics into the writer writer.
Unicode character string.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
double Real
Type representing a real number.
eTimePhase
Phase of a temporal action.