|
SimGrid
3.14.159
Versatile Simulation of Distributed Systems
|
#include <xbt/ex.hpp>#include "src/internal_config.h"#include "xbt/sysdep.h"#include "xbt/log.h"#include "xbt/str.h"#include "xbt/file.h"#include "xbt/replay.h"#include <errno.h>#include <ctype.h>#include <wchar.h>Classes | |
| struct | s_replay_reader |
Typedefs | |
| typedef struct s_replay_reader | s_xbt_replay_reader_t |
Functions | |
| XBT_LOG_NEW_DEFAULT_SUBCATEGORY (replay, xbt,"Replay trace reader") | |
| static char ** | action_get_action (char *name) |
| static char * | str_tolower (const char *str) |
| int | _xbt_replay_is_active () |
| xbt_replay_reader_t | xbt_replay_reader_new (const char *filename) |
| const char ** | xbt_replay_reader_get (xbt_replay_reader_t reader) |
| void | xbt_replay_reader_free (xbt_replay_reader_t *reader) |
| void | xbt_replay_action_register (const char *action_name, action_fun function) |
| Registers a function to handle a kind of action. More... | |
| int | _xbt_replay_action_init () |
| Initializes the replay mechanism, and returns true if (and only if) it was necessary. More... | |
| void | _xbt_replay_action_exit () |
| int | xbt_replay_action_runner (int argc, char *argv[]) |
| function used internally to actually run the replay More... | |
Variables | |
| FILE * | xbt_action_fp |
| xbt_dict_t | xbt_action_funs = nullptr |
| xbt_dict_t | xbt_action_queues = nullptr |
| static char * | action_line = nullptr |
| static size_t | action_len = 0 |
| int | is_replay_active = 0 |
| typedef struct s_replay_reader s_xbt_replay_reader_t |
| XBT_LOG_NEW_DEFAULT_SUBCATEGORY | ( | replay | , |
| xbt | , | ||
| "Replay trace reader" | |||
| ) |
|
static |
|
static |
| int _xbt_replay_is_active | ( | ) |
| xbt_replay_reader_t xbt_replay_reader_new | ( | const char * | filename | ) |
| const char** xbt_replay_reader_get | ( | xbt_replay_reader_t | reader | ) |
| void xbt_replay_reader_free | ( | xbt_replay_reader_t * | reader | ) |
| int _xbt_replay_action_init | ( | ) |
Initializes the replay mechanism, and returns true if (and only if) it was necessary.
It returns false if it was already done by another process.
| void _xbt_replay_action_exit | ( | ) |
| FILE* xbt_action_fp |
| xbt_dict_t xbt_action_funs = nullptr |
| xbt_dict_t xbt_action_queues = nullptr |
|
static |
|
static |
| int is_replay_active = 0 |