XGC1
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
XGC_core
cpp
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,
9
DebugBarrier
,
10
NoBarrier
,
11
NoFlush
12
};
13
14
void
checkpoint
(std::string msg,
const
Chkpt
option =
Chkpt::Barrier
);
15
16
#endif
Chkpt::Barrier
MPI Barrier used (default)
Chkpt::NoFlush
No flush.
Chkpt::NoBarrier
No MPI Barrier, just flush.
Chkpt::DebugBarrier
MPI Barrier and flush only if a Debug flag is set.
checkpoint
void checkpoint(std::string msg, const Chkpt option)
Definition:
checkpoint.cpp:16
Chkpt
Chkpt
Definition:
checkpoint.hpp:7
Generated by
1.8.5