![]() |
The ROme OpTimistic Simulator
3.0.0
A General-Purpose Multithreaded Parallel/Distributed Simulation Platform
|
LP construction functions. More...
#include <core/core.h>
#include <gvt/termination.h>
#include <lib/lib.h>
#include <lp/msg.h>
#include <lp/process.h>
#include <mm/model_allocator.h>
Go to the source code of this file.
Data Structures | |
struct | lp_ctx |
A complete LP context. More... | |
Macros | |
#define | lid_to_rid(lp_id) ((lp_id) * n_threads / n_lps_node) |
Functions | |
void | lp_global_init (void) |
void | lp_global_fini (void) |
void | lp_init (void) |
void | lp_fini (void) |
void | lp_cleanup (void) |
lp_id_t | lp_id_get_mt (void) |
struct lib_ctx * | lib_ctx_get_mt (void) |
Variables | |
__thread uint64_t | lp_id_first |
__thread uint64_t | lp_id_end |
uint64_t | n_lps_node |
The total number of LPs hosted in the node. | |
__thread struct lp_ctx * | current_lp |
struct lp_ctx * | lps |
LP construction functions.
LP construction functions
Definition in file lp.h.