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

Message map datatype. More...

#include <datatypes/remote_msg_map.h>
#include <core/intrinsics.h>
#include <core/sync.h>
#include <datatypes/msg_queue.h>
#include <gvt/gvt.h>
#include <lp/msg.h>
#include <mm/mm.h>
#include <memory.h>
#include <stdalign.h>
+ Include dependency graph for remote_msg_map.c:

Go to the source code of this file.

Data Structures

struct  msg_map_node
 A bucket of the remote messages hash map. More...
 
struct  msg_map
 The message hash map used to register external messages. More...
 

Macros

#define MAX_LOAD_FACTOR   0.95
 
#define HB_LCK   ((uintptr_t)1U)
 

Typedefs

typedef uint_fast32_t map_size_t
 

Functions

static map_size_t msg_id_hash (uintptr_t msg_id)
 
void remote_msg_map_global_init (void)
 
void remote_msg_map_global_fini (void)
 
static void remote_msg_map_lock_all (void)
 
static void remote_msg_map_unlock_all (void)
 
void remote_msg_map_fossil_collect (simtime_t current_gvt)
 
static void msg_map_size_increase (void)
 
void remote_msg_map_match (uintptr_t msg_id, nid_t m_nid, struct lp_msg *msg)
 

Variables

static struct msg_map re_map
 

Detailed Description

Message map datatype.

Message map datatype

Definition in file remote_msg_map.c.