ROOT-Sim core  3.0.0-rc.2
A General-Purpose Multi-threaded Parallel/Distributed Simulation Library
serial.h
Go to the documentation of this file.
1 
9 #pragma once
10 
11 #include <core/core.h>
12 
13 extern int serial_simulation(void);
14 extern void ScheduleNewEvent_serial(lp_id_t receiver, simtime_t timestamp, unsigned event_type, const void *payload,
15  unsigned payload_size);
double simtime_t
Simulation time data type.
Definition: ROOT-Sim.h:27
uint64_t lp_id_t
Logical Process ID data type.
Definition: ROOT-Sim.h:33
Core ROOT-Sim functionalities.
int serial_simulation(void)
Handles a full serial simulation runs.
Definition: serial.c:147
void ScheduleNewEvent_serial(lp_id_t receiver, simtime_t timestamp, unsigned event_type, const void *payload, unsigned payload_size)
Schedule a new event. Sequential version.
Definition: serial.c:128