Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
IMessagePassingProfilingService.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/* IMessagePassingProfilingService.h (C) 2000-2016 */
9/* */
10/* Interface of a profiling service dedicated to "message passing" */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_IMESSAGEPASSINGPROFILINGSERVICE_H
13#define ARCANE_IMESSAGEPASSINGPROFILINGSERVICE_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
28/*!
29 * \internal
30 * \brief Interface of a profiling service dedicated to "message passing"
31 *
32 * \note In development
33 */
34class ARCANE_UTILS_EXPORT IMessagePassingProfilingService
35{
36 public:
37
39
40 public:
41
42 //! Starts profiling
43 virtual void startProfiling() = 0;
44
45 //! Stops profiling
46 virtual void stopProfiling() = 0;
47
48 //! Displays information from the profiling
49 virtual void printInfos(std::ostream& output) = 0;
50
51 //! Gives the name of the service that implements the interface
52 virtual String implName() = 0;
53};
54
55/*---------------------------------------------------------------------------*/
56/*---------------------------------------------------------------------------*/
57
58} // namespace Arcane
59
60/*---------------------------------------------------------------------------*/
61/*---------------------------------------------------------------------------*/
62
63#endif
Arcane configuration file.
virtual void startProfiling()=0
Starts profiling.
virtual void stopProfiling()=0
Stops profiling.
virtual String implName()=0
Gives the name of the service that implements the interface.
virtual void printInfos(std::ostream &output)=0
Displays information from the profiling.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --