The ROme OpTimistic Simulator
3.0.0
A General-Purpose Multithreaded Parallel/Distributed Simulation Platform
core.c
Go to the documentation of this file.
1
11
#include <
core/core.h
>
12
13
lp_id_t
n_lps
;
14
15
rid_t
n_threads
;
16
__thread
rid_t
rid
;
17
#ifdef ROOTSIM_MPI
18
nid_t
n_nodes = 1;
19
rid_t
n_threads
;
20
nid_t
nid
;
21
#endif
rid_t
unsigned rid_t
Used to identify in a node the computing resources (threads at the moment)
Definition:
core.h:77
nid
nid_t nid
The node identifier of the node.
Definition:
core.c:20
nid_t
int nid_t
Used to identify MPI nodes in a distributed environment.
Definition:
core.h:79
n_lps
lp_id_t n_lps
The total number of LPs in the simulation.
Definition:
core.c:13
n_threads
rid_t n_threads
The total number of MPI nodes in the simulation.
Definition:
core.c:15
rid
__thread rid_t rid
The identifier of the thread.
Definition:
core.c:16
lp_id_t
uint64_t lp_id_t
Used to uniquely identify LPs in the simulation.
Definition:
core.h:75
core.h
Core ROOT-Sim functionalities.
src
core
core.c
Generated by
1.8.17