ROOT-Sim core  3.0.0-rc.2
A General-Purpose Multi-threaded Parallel/Distributed Simulation Library
Functions
serial.h File Reference

Sequential simulation engine. More...

#include <core/core.h>
Include dependency graph for serial.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int serial_simulation (void)
 Handles a full serial simulation runs.
 
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. More...
 

Detailed Description

Sequential simulation engine.

Function Documentation

◆ ScheduleNewEvent_serial()

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.

Parameters
receiverdestination LP
timestamptimestamp of the injected event
event_typemodel-defined type
payloadpayload of the event
payload_sizesize of the payload