XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
checkpoint.hpp
Go to the documentation of this file.
1 #ifndef CHECKPOINT_HPP
2 #define CHECKPOINT_HPP
3 
4 #include <string>
5 
6 // Which type of checkpoint
7 enum class Chkpt{
8  Barrier = 0,
10  NoBarrier,
11  NoFlush
12 };
13 
14 void checkpoint(std::string msg, const Chkpt option = Chkpt::Barrier);
15 
16 #endif
MPI Barrier used (default)
No flush.
No MPI Barrier, just flush.
MPI Barrier and flush only if a Debug flag is set.
void checkpoint(std::string msg, const Chkpt option)
Definition: checkpoint.cpp:12
Chkpt
Definition: checkpoint.hpp:7