SimGrid  3.16
Versatile Simulation of Distributed Systems
xbt_replay.cpp File Reference
#include "xbt/ex.hpp"
#include "xbt/log.h"
#include "xbt/replay.hpp"
#include <boost/algorithm/string.hpp>

Classes

class  simgrid::xbt::ReplayReader
 

Namespaces

 simgrid
 Alltoall Bruck.
 
 simgrid::xbt
 

Functions

 XBT_LOG_NEW_DEFAULT_SUBCATEGORY (replay, xbt,"Replay trace reader")
 
static void simgrid::xbt::read_and_trim_line (std::ifstream *fs, std::string *line)
 
static ReplayAction * simgrid::xbt::get_action (char *name)
 
static void simgrid::xbt::handle_action (ReplayAction *action)
 
int simgrid::xbt::replay_runner (int argc, char *argv[])
 function used internally to actually run the replay More...
 
void xbt_replay_action_register (const char *action_name, action_fun function)
 Registers a function to handle a kind of action. More...
 
action_fun xbt_replay_action_get (const char *action_name)
 Get the function that was previously registered to handle a kind of action. More...
 

Variables

std::ifstream * simgrid::xbt::action_fs = nullptr
 
std::unordered_map< std::string, action_funsimgrid::xbt::action_funs
 

Function Documentation

◆ XBT_LOG_NEW_DEFAULT_SUBCATEGORY()

XBT_LOG_NEW_DEFAULT_SUBCATEGORY ( replay  ,
xbt  ,
"Replay trace reader"   
)