 |
The ROme OpTimistic Simulator
3.0.0
A General-Purpose Multithreaded Parallel/Distributed Simulation Platform
|
Go to the documentation of this file.
52 extern __attribute__ ((pure))
lp_id_t RegionsCount(
void);
53 extern __attribute__ ((pure))
lp_id_t DirectionsCount(
void);
55 extern lp_id_t FindReceiver(
void);
@ TOPOLOGY_RING
a ring shaped topology walkable in a single direction
@ DIRECTION_E
East direction.
@ DIRECTION_INVALID
A generic invalid direction.
@ DIRECTION_SE
South-east direction.
lp_id_t out_of_topology
The minimum number of LPs needed for out of the topology logic.
@ DIRECTION_NW
North-west direction.
@ DIRECTION_W
West direction.
void topology_global_init(void)
@ TOPOLOGY_BIDRING
a ring shaped topology
@ DIRECTION_N
North direction.
@ TOPOLOGY_SQUARE
square grid topology
@ TOPOLOGY_MESH
an arbitrary shaped topology
@ TOPOLOGY_HEXAGON
hexagonal grid topology
uint64_t lp_id_t
Used to uniquely identify LPs in the simulation.
Core ROOT-Sim functionalities.
@ TOPOLOGY_TORUS
a torus shaped grid topology (a wrapping around square topology)
@ DIRECTION_SW
South-west direction.
enum _topology_geometry_t default_geometry
The default geometry to use when nothing else is specified.
@ TOPOLOGY_STAR
a star shaped topology
@ DIRECTION_S
South direction.
@ DIRECTION_NE
North-east direction.
This is declared by the model to setup the topology module.