ROOT-Sim core  3.0.0-rc.2
A General-Purpose Multi-threaded Parallel/Distributed Simulation Library
Public Attributes | List of all members
simulation_configuration Struct Reference

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

#include <ROOT-Sim.h>

Public Attributes

lp_id_t lps
 The number of LPs to be used in the simulation.
 
unsigned n_threads
 The number of threads to be used in the simulation. If zero, it defaults to the amount of available cores.
 
simtime_t termination_time
 The target termination logical time. Setting this value to zero means that LVT-based termination is disabled.
 
unsigned gvt_period
 The gvt period expressed in microseconds.
 
enum log_level log_level
 The logger verbosity level.
 
FILE * logfile
 File where to write logged information: if not NULL, output is redirected to this file.
 
const char * stats_file
 Path to the statistics file. If NULL, no statistics are produced.
 
unsigned ckpt_interval
 The checkpointing interval.
 
uint64_t prng_seed
 The seed used to initialize the pseudo random numbers.
 
bool core_binding
 If set, worker threads are bound to physical cores.
 
bool serial
 If set, the simulation will run on the serial runtime.
 
ProcessEvent_t dispatcher
 Function pointer to the dispatching function.
 
CanEnd_t committed
 Function pointer to the termination detection function.
 

Detailed Description

A set of configurable values used by other modules.


The documentation for this struct was generated from the following file: