The ROme OpTimistic Simulator  2.0.0
A General-Purpose Multithreaded Parallel/Distributed Simulation Platform
queues.h
Go to the documentation of this file.
1 
33 #pragma once
34 
35 #include <core/core.h>
36 #include <scheduler/process.h>
37 
38 #define last_event_timestamp(lp) lvt(lp);
39 
40 extern inline simtime_t get_min_in_transit(void);
42 extern msg_t *advance_to_next_event(struct lp_struct *);
43 extern void insert_bottom_half(msg_t * msg);
44 extern void process_bottom_halves(void);
45 extern unsigned long long generate_mark(struct lp_struct *);
msg_t * advance_to_next_event(struct lp_struct *)
Definition: queues.c:93
void insert_bottom_half(msg_t *msg)
Definition: queues.c:115
Core ROOT-Sim functionalities.
unsigned long long generate_mark(struct lp_struct *)
Definition: queues.c:270
double simtime_t
This defines the type with whom timestamps are represented.
Definition: ROOT-Sim.h:55
Message Type definition.
Definition: core.h:164
LP control blocks.
void process_bottom_halves(void)
Definition: queues.c:132
simtime_t next_event_timestamp(struct lp_struct *)
Definition: queues.c:62