Multi-ApplicationOnlineProfiling  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Trace_Comm.h
Go to the documentation of this file.
1 /* ############################ MALP License ############################## */
2 /* # Fri Jan 18 14:00:00 CET 2013 # */
3 /* # Copyright or (C) or Copr. Commissariat a l'Energie Atomique # */
4 /* # # */
5 /* # This software is governed by the CeCILL-C license under French law # */
6 /* # and abiding by the rules of distribution of free software. You can # */
7 /* # use, modify and/ or redistribute the software under the terms of # */
8 /* # the CeCILL-C license as circulated by CEA, CNRS and INRIA at the # */
9 /* # following URL http://www.cecill.info. # */
10 /* # # */
11 /* # The fact that you are presently reading this means that you have # */
12 /* # had knowledge of the CeCILL-C license and that you accept its # */
13 /* # terms. # */
14 /* # # */
15 /* # Authors: # */
16 /* # - BESNARD Jean-Baptiste jean-baptiste.besnard@cea.fr # */
17 /* # # */
18 /* ######################################################################## */
19 #ifndef TRACE_COMM_H
20 #define TRACE_COMM_H
21 
22 
29 #include <mpi.h>
30 
34 extern MPI_Comm __trace_comm;
35 
40 static inline MPI_Comm Trace_Comm_get()
41 {
42  return __trace_comm;
43 }
44 
50 void Trace_Comm_init();
51 
57 void Trace_Comm_release();
58 
59 
64 #endif /* TRACE_COMM_H */
static MPI_Comm Trace_Comm_get()
Getter on the sync communicator.
Definition: Trace_Comm.h:40
MPI_Comm __trace_comm
This is the MPI communicator used for interprocess time synchronization.
Definition: Trace_Comm.c:27
void Trace_Comm_init()
Initializes the trace communicator.
Definition: Trace_Comm.c:30
void Trace_Comm_release()
Releases the trace communicator.
Definition: Trace_Comm.c:39