12#ifndef ARCANE_CORE_IENTRYPOINT_H
13#define ARCANE_CORE_IENTRYPOINT_H
18#include "arcane/core/Timer.h"
59 static const char*
const WExit;
99 ARCANE_DEPRECATED_REASON(
"Y2022: Do not use this method. Try to get 'ISubDomain' from another way")
134 ARCANE_DEPRECATED_REASON(
"Y2022: Use totalElapsedTime() instead")
141 ARCANE_DEPRECATED_REASON(
"Y2022: Use lastElapsedTime() instead")
Declarations of Arcane's general types.
Interface of a module entry point.
virtual Real lastTime(Timer::eTimerType) const =0
Returns lastElapsedTime().
virtual Real totalTime(Timer::eTimerType) const =0
Returns totalElapsedTime().
virtual void executeEntryPoint()=0
Calls the entry point.
virtual Real totalElapsedTime() const =0
Elapsed execution time (clock time) in this entry point (in milliseconds).
static const char *const WComputeLoop
called during the calculation loop
static const char *const WBuild
called for module construction
virtual Real lastElapsedTime() const =0
Elapsed execution time (clock time) of the last iteration (in milliseconds).
virtual Real lastCPUTime() const =0
CPU consumption of the last iteration (in milliseconds).
virtual ISubDomain * subDomain() const =0
Returns the main manager.
static const char *const WStartInit
called during new case initialization
static const char *const WRestore
called to restore variables during a rollback
virtual Integer nbCall() const =0
Returns the number of times the entry point has been executed.
static const char *const WOnMeshRefinement
called after mesh refinement
virtual String fullName() const =0
Full name (with the module) of the entry point. This name is unique.
@ PAutoLoadEnd
Automatically loaded at the end. This means that a module possessing an entry point with this propert...
@ PAutoLoadBegin
Automatically loaded at the beginning. This means that a module possessing an entry point with this p...
virtual int property() const =0
Returns the properties of the entry point.
virtual Real totalCPUTime() const =0
Total CPU consumption spent in this entry point (in milliseconds).
static const char *const WOnMeshChanged
called after a mesh change
static const char *const WContinueInit
called during continuation initialization
virtual String where() const =0
Returns where the entry point is called.
static const char *const WInit
called during initialization
virtual IModule * module() const =0
Returns the module associated with the entry point.
virtual String name() const =0
Returns the name of the entry point.
virtual ~IEntryPoint()=default
Releases resources.
Interface of the subdomain manager.
Unicode character string.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.
double Real
Type representing a real number.