Arcane
v4.1.8.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
ExecutionStatsDumper.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
/* ExecutionStatsDumper.h (C) 2000-2026 */
9
/* */
10
/* Ecriture des statistiques d'exécution. */
11
/*---------------------------------------------------------------------------*/
12
#ifndef ARCANE_IMPL_EXECUTIONSTATSDUMPER_H
13
#define ARCANE_IMPL_EXECUTIONSTATSDUMPER_H
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
#include "arcane/utils/TraceAccessor.h"
18
19
#include "
arcane/core/ArcaneTypes.h
"
20
21
/*---------------------------------------------------------------------------*/
22
/*---------------------------------------------------------------------------*/
23
24
namespace
Arcane
25
{
26
namespace
impl
27
{
28
class
AcceleratorStatInfoList;
29
}
30
31
class
ISimpleTableOutput
;
32
33
/*---------------------------------------------------------------------------*/
34
/*---------------------------------------------------------------------------*/
41
class
ARCANE_IMPL_EXPORT ExecutionStatsDumper
42
:
public
TraceAccessor
43
{
44
public
:
45
46
explicit
ExecutionStatsDumper(
ITraceMng
* trace)
47
:
TraceAccessor
(trace)
48
{}
49
50
public
:
51
52
void
dumpStats(
ISubDomain
* sd,
ITimeStats
* time_stats);
53
54
private
:
55
56
void
_dumpProfiling(std::ostream& o);
57
void
_dumpProfilingJSON(
const
String
& filename);
58
void
_dumpProfilingJSON(
JSONWriter
& json_writer);
59
void
_dumpProfilingTable(
ISimpleTableOutput
* table);
60
};
61
62
/*---------------------------------------------------------------------------*/
63
/*---------------------------------------------------------------------------*/
64
65
}
// End namespace Arcane
66
67
/*---------------------------------------------------------------------------*/
68
/*---------------------------------------------------------------------------*/
69
70
#endif
ArcaneTypes.h
Déclarations des types généraux de Arcane.
Arcane::ISimpleTableOutput
Interface représentant une sortie de tableau simple.
Definition
ISimpleTableOutput.h:34
Arcane::ISubDomain
Interface du gestionnaire d'un sous-domaine.
Definition
ISubDomain.h:74
Arcane::ITimeStats
Interface gérant les statistiques sur les temps d'exécution.
Definition
ITimeStats.h:43
Arcane::ITraceMng
Interface du gestionnaire de traces.
Definition
arccore/src/trace/arccore/trace/ITraceMng.h:156
Arcane::JSONWriter
Ecrivain au format JSON.
Definition
arccore/src/common/arccore/common/JSONWriter.h:34
Arcane::String
Chaîne de caractères unicode.
Definition
arccore/src/base/arccore/base/String.h:70
Arcane::TraceAccessor::TraceAccessor
TraceAccessor(ITraceMng *m)
Construit un accesseur via le gestionnaire de trace m.
Definition
TraceAccessor.cc:27
Arcane
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
Definition
arcane/src/arcane/accelerator/AcceleratorGlobal.h:37
arcane
impl
ExecutionStatsDumper.h
Généré le Lundi 6 Avril 2026 04:25:38 pour Arcane par
1.13.2