![]() |
The ROme OpTimistic Simulator
2.0.0
A General-Purpose Multithreaded Parallel/Distributed Simulation Platform
|
Initialization routines. More...
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <limits.h>
#include <sysexits.h>
#include <argp.h>
#include <errno.h>
#include <ROOT-Sim.h>
#include <arch/thread.h>
#include <communication/communication.h>
#include <core/core.h>
#include <core/init.h>
#include <datatypes/bitmap.h>
#include <scheduler/process.h>
#include <gvt/gvt.h>
#include <gvt/ccgs.h>
#include <scheduler/scheduler.h>
#include <mm/state.h>
#include <mm/ecs.h>
#include <mm/mm.h>
#include <statistics/statistics.h>
#include <lib/numerical.h>
#include <lib/topology.h>
#include <lib/abm_layer.h>
#include <serial/serial.h>
#include <communication/mpi.h>
Go to the source code of this file.
Enumerations | |
enum | _opt_codes { OPT_FIRST = 128, OPT_SCHEDULER = OPT_FIRST + PARAM_SCHEDULER, OPT_CKTRM_MODE = OPT_FIRST + PARAM_CKTRM_MODE, OPT_LPS_DISTRIBUTION = OPT_FIRST + PARAM_LPS_DISTRIBUTION, OPT_VERBOSE = OPT_FIRST + PARAM_VERBOSE, OPT_STATS = OPT_FIRST + PARAM_STATS, OPT_STATE_SAVING = OPT_FIRST + PARAM_STATE_SAVING, OPT_SNAPSHOT = OPT_FIRST + PARAM_SNAPSHOT, OPT_NP, OPT_NPRC, OPT_OUTPUT_DIR, OPT_NPWD, OPT_P, OPT_FULL, OPT_INC, OPT_A, OPT_GVT, OPT_GVT_SNAPSHOT_CYCLES, OPT_SIMULATION_TIME, OPT_DETERMINISTIC_SEED, OPT_SEED, OPT_SERIAL, OPT_NO_CORE_BINDING, OPT_PREEMPTION, OPT_LAST } |
This is the list of mnemonics for arguments. More... | |
Functions | |
static error_t | parse_opt (int key, char *arg, struct argp_state *state) |
void | SystemInit (int argc, char **argv) |
Variables | |
const char *const | param_to_text [][5] |
const char * | argp_program_version = PACKAGE_STRING "\nCopyright (C) 2008-2019 HPDCS Group" |
const char * | argp_program_bug_address = PACKAGE_BUGREPORT |
static char | doc [] = "ROOT-Sim - a fast distributed multithreaded Parallel Discrete Event Simulator \v For more information check the official wiki at https://github.com/HPDCS/ROOT-Sim/wiki" |
static char | args_doc [] = "" |
static const struct argp_option | argp_options [] |
static struct argp_child | argp_child [2] |
static struct argp | argp = { argp_options, parse_opt, args_doc, doc, argp_child, 0, 0 } |
Initialization routines.
This module implements the simulator initialization routines
This file is part of ROOT-Sim (ROme OpTimistic Simulator).
ROOT-Sim is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; only version 3 of the License applies.
ROOT-Sim is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with ROOT-Sim; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Definition in file init.c.
#define handle_string_option | ( | label, | |
var | |||
) |
#define parse_ullong_limits | ( | low, | |
high | |||
) |
enum _opt_codes |
void SystemInit | ( | int | argc, |
char ** | argv | ||
) |
|
static |
|
static |
const char* const param_to_text[][5] |