The ROme OpTimistic Simulator  3.0.0
A General-Purpose Multithreaded Parallel/Distributed Simulation Platform
lp.h File Reference

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>
+ Include dependency graph for lp.h:
+ This graph shows which files directly or indirectly include this file:

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_ctxlib_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_ctxcurrent_lp
 
struct lp_ctxlps
 

Detailed Description

LP construction functions.

LP construction functions

Definition in file lp.h.