Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
MpiTimerMng.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2026 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7/*---------------------------------------------------------------------------*/
8/* MpiTimerMng.h (C) 2000-2006 */
9/* */
10/* Timer manager using MPI_Wtime. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_PARALLEL_MPI_MPITIMERMNG_H
13#define ARCANE_PARALLEL_MPI_MPITIMERMNG_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/impl/TimerMng.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
40: public TimerMng
41{
42 public:
43
45 MpiTimerMng(ITraceMng* trace);
46
47 public:
48
49 virtual ~MpiTimerMng();
50
51 protected:
52
53 virtual Real _getRealTime();
54 virtual void _setRealTime();
55};
56
57/*---------------------------------------------------------------------------*/
58/*---------------------------------------------------------------------------*/
59
60} // namespace Arcane
61
62/*---------------------------------------------------------------------------*/
63/*---------------------------------------------------------------------------*/
64
65#endif
MpiTimerMng(ITraceMng *trace)
Constructs a timer linked to the subdomain mng.
virtual Real _getRealTime()
Returns the real time.
virtual void _setRealTime()
Sets the real time.
TimerMng(ITraceMng *msg)
Constructs a timer linked to the manager mng.
Definition TimerMng.cc:39
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
double Real
Type representing a real number.