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

Memory management functions for messages. More...

#include <lp/msg.h>
#include <memory.h>
+ Include dependency graph for msg_allocator.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void msg_allocator_init (void)
 
void msg_allocator_fini (void)
 
struct lp_msgmsg_allocator_alloc (unsigned payload_size)
 
void msg_allocator_free (struct lp_msg *msg)
 
void msg_allocator_free_at_gvt (struct lp_msg *msg)
 
void msg_allocator_fossil_collect (simtime_t current_gvt)
 
struct lp_msgmsg_allocator_pack (lp_id_t receiver, simtime_t timestamp, unsigned event_type, const void *payload, unsigned payload_size)
 

Detailed Description

Memory management functions for messages.

Memory management functions for messages

Definition in file msg_allocator.h.