|
SimGrid
3.14.159
Versatile Simulation of Distributed Systems
|
#include <math.h>#include "xbt/misc.h"#include "simgrid_config.h"#include "xbt/sysdep.h"#include "xbt/log.h"#include "xbt/log.hpp"#include "xbt/dynar.h"#include "xbt/config.h"#include "xbt/module.h"#include "src/xbt_modinter.h"#include "simgrid/sg_config.h"#include "src/internal_config.h"#include <stdio.h>Macros | |
| #define | XBT_LOG_LOCALLY_DEFINE_XBT_CHANNEL /* MSVC don't want it to be declared extern in headers and local here */ |
Functions | |
| XBT_LOG_NEW_DEFAULT_SUBCATEGORY (module, xbt, "module handling") | |
| XBT_LOG_NEW_CATEGORY (smpi, "All SMPI categories") | |
| static void | xbt_preinit (void) _XBT_GNUC_CONSTRUCTOR(200) |
| static void | xbt_postexit (void) |
| void | xbt_init (int *argc, char **argv) |
| Initialize the xbt mechanisms. More... | |
| void | xbt_free_f (void *p) |
| like free, but you can be sure that it is a function More... | |
| void | xbt_free_ref (void *d) |
| should be given a pointer to pointer, and frees the second one More... | |
| void | xbt_abort (void) |
| Kill the program in silence. More... | |
Variables | |
| char * | xbt_binary_name = NULL |
| xbt_dynar_t | xbt_cmdline = NULL |
| Contains all the parameters we got from the command line (including argv[0]) More... | |
| int | xbt_initialized = 0 |
| int | _sg_do_clean_atexit = 1 |
| int | xbt_pagesize |
| Cache the size of a memory page for the current system. More... | |
| int | xbt_pagebits = 0 |
| Cache the number of bits of addresses inside a given page, log2(xbt_pagesize). More... | |
| #define XBT_LOG_LOCALLY_DEFINE_XBT_CHANNEL /* MSVC don't want it to be declared extern in headers and local here */ |
| XBT_LOG_NEW_DEFAULT_SUBCATEGORY | ( | module | , |
| xbt | , | ||
| "module handling" | |||
| ) |
| XBT_LOG_NEW_CATEGORY | ( | smpi | , |
| "All SMPI categories" | |||
| ) |
| void xbt_init | ( | int * | argc, |
| char ** | argv | ||
| ) |
Initialize the xbt mechanisms.
| char* xbt_binary_name = NULL |
| xbt_dynar_t xbt_cmdline = NULL |
Contains all the parameters we got from the command line (including argv[0])
| int xbt_initialized = 0 |
| int _sg_do_clean_atexit = 1 |
| int xbt_pagesize |
Cache the size of a memory page for the current system.
| int xbt_pagebits = 0 |
Cache the number of bits of addresses inside a given page, log2(xbt_pagesize).