![]() |
The ROme OpTimistic Simulator
3.0.0
A General-Purpose Multithreaded Parallel/Distributed Simulation Platform
|
Topology library. More...
#include <lib/topology/topology.h>
#include <core/intrinsics.h>
#include <lib/lib_internal.h>
#include <math.h>
#include <memory.h>
Go to the source code of this file.
Functions | |
__attribute ((weak)) | |
this is used to store the common characteristics of the topology More... | |
void | topology_global_init (void) |
lp_id_t | RegionsCount (void) |
lp_id_t | DirectionsCount (void) |
lp_id_t | GetReceiver (lp_id_t from, enum _direction_t direction) |
lp_id_t | FindReceiver (void) |
Variables | |
topology_global | |
Topology library.
This library is allows models to setup and query different topologies.
Definition in file topology.c.
__attribute | ( | (weak) | ) |
this is used to store the common characteristics of the topology
< the number of LPs involved in the topology
< the pre-computed edge length (if it makes sense for the current topology geometry)
< the topology geometry (see ROOT-Sim.h)
Definition at line 19 of file topology.c.
void topology_global_init | ( | void | ) |
Initialize the topology module for each LP hosted on the machine. This needs to be called right after LP basic initialization before starting to process events.
Definition at line 32 of file topology.c.