Skip to content
Snippets Groups Projects
Commit ec83bba6 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Add simple console message at checkpoint creation

parent e8eec018
No related branches found
No related tags found
1 merge request!199Integrate checkpointing
......@@ -54,6 +54,10 @@ checkpoint()
std::string checkpoint_name = "checkpoint_" + std::to_string(checkpoint_number);
std::cout << " * " << rang::fgB::green << "Checkpointing " << rang::fg::reset << "at execution line "
<< rang::fgB::yellow << ASTExecutionStack::getInstance().currentNode().begin().line << rang::fg::reset
<< " [using " << rang::fgB::cyan << checkpoint_name << rang::fg::reset << "]\n";
HighFive::Group checkpoint = file.createGroup(checkpoint_name);
uint64_t checkpoint_id =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment