The ROme OpTimistic Simulator  3.0.0
A General-Purpose Multithreaded Parallel/Distributed Simulation Platform
init.h File Reference

Initialization routines. More...

#include <core/core.h>
#include <log/log.h>
#include <stdbool.h>
#include <stdint.h>
+ Include dependency graph for init.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  simulation_configuration
 A set of configurable values used by other modules. More...
 

Functions

void init_args_parse (int argc, char **argv)
 Parses ROOT-Sim command line arguments. More...
 

Variables

struct simulation_configuration global_config
 The configuration filled in by init_args_parse()
 

Detailed Description

Initialization routines.

This module implements the simulator initialization routines

Definition in file init.h.

Function Documentation

◆ init_args_parse()

void init_args_parse ( int  argc,
char **  argv 
)

Parses ROOT-Sim command line arguments.

Parameters
argcthe argc value from the main() function
argvthe argv value from the main() function

The result of the parsing is stored in the global_config variable.

Definition at line 217 of file init.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: