13 #ifndef _VT_UNIFY_TKFAC_SCOPE_H_
14 #define _VT_UNIFY_TKFAC_SCOPE_H_
39 virtual uint32_t create(
const void * localDef,
40 uint32_t globalToken = 0 ) = 0;
43 virtual void setTranslation(
const uint32_t & process,
44 const uint32_t & localToken,
45 const uint32_t & globalToken ) = 0;
48 virtual uint32_t translate(
const uint32_t & process,
49 const uint32_t & localToken,
50 const bool showError =
true )
const = 0;
53 virtual uint32_t getNextToken() = 0;
59 virtual VT_MPI_INT getPackSize(
const uint32_t & process ) = 0;
62 virtual void pack(
const uint32_t & process,
char *& buffer,
63 const VT_MPI_INT & bufferSize, VT_MPI_INT & bufferPos,
64 const bool clear =
true ) = 0;
67 virtual void unpack(
char *& buffer,
const VT_MPI_INT & bufferSize,
68 VT_MPI_INT & bufferPos ) = 0;
89 uint32_t create(
const void * localDef, uint32_t globalToken = 0 );
92 inline void setTranslation(
const uint32_t & process,
93 const uint32_t & localToken,
const uint32_t & globalToken );
96 inline uint32_t translate(
const uint32_t & process,
97 const uint32_t & localToken,
98 const bool showError =
true )
const;
101 inline uint32_t getNextToken();
107 VT_MPI_INT getPackSize(
const uint32_t & process );
110 void pack(
const uint32_t & process,
char *& buffer,
111 const VT_MPI_INT & bufferSize, VT_MPI_INT & bufferPos,
112 const bool clear =
true );
115 void unpack(
char *& buffer,
const VT_MPI_INT & bufferSize,
116 VT_MPI_INT & bufferPos );
123 std::map<uint32_t, std::map<uint32_t, uint32_t> > m_proc2TokenMap;
126 std::set<T> * m_globDefs;
133 #include "vt_unify_tkfac_scope.hh"
135 #endif // _VT_UNIFY_TKFAC_SCOPE_H_
Definition: vt_unify_tkfac_scope.h:78
VampirTrace http://www.tu-dresden.de/zih/vampirtrace.
Definition: vt_unify_tkfac_scope.h:28