![]() |
The ROme OpTimistic Simulator
3.0.0
A General-Purpose Multithreaded Parallel/Distributed Simulation Platform
|
Sequential simlation engine. More...
#include <serial/serial.h>#include <arch/timer.h>#include <core/core.h>#include <core/init.h>#include <datatypes/heap.h>#include <lib/lib.h>#include <log/stats.h>#include <lp/msg.h>#include <mm/msg_allocator.h>#include <stdlib.h>
Include dependency graph for serial.c:Go to the source code of this file.
Data Structures | |
| struct | s_lp_ctx |
| The LP context for the serial runtime. More... | |
Functions | |
| static | binary_heap (struct lp_msg *) |
| The messages queue of the serial runtime. | |
| static void | serial_simulation_init (void) |
| Initializes the serial simulation environment. | |
| static void | serial_simulation_fini (void) |
| Finalizes the serial simulation environment. | |
| static void | serial_simulation_run (void) |
| Runs the serial simulation. | |
| void | ScheduleNewEvent (lp_id_t receiver, simtime_t timestamp, unsigned event_type, const void *payload, unsigned payload_size) |
| void | serial_simulation (void) |
| Handles a full serial simulation runs. | |
| lp_id_t | lp_id_get (void) |
| struct lib_ctx * | lib_ctx_get (void) |
Variables | |
| static struct s_lp_ctx * | s_lps |
| The array of all the simulation LP contexts. | |
| static struct s_lp_ctx * | s_current_lp |
| The context of the currently processed LP. | |
Sequential simlation engine.
Definition in file serial.c.