The ROme OpTimistic Simulator
3.0.0
A General-Purpose Multithreaded Parallel/Distributed Simulation Platform
serial.h
Go to the documentation of this file.
1
9
#pragma once
10
11
#include <
core/core.h
>
12
13
extern
void
serial_model_init(
void
);
14
15
extern
void
serial_simulation
(
void
);
16
17
extern
void
ScheduleNewEvent(
lp_id_t
receiver,
simtime_t
timestamp,
18
unsigned
event_type,
const
void
*payload,
unsigned
payload_size);
19
20
__attribute__ ((pure))
extern
lp_id_t
lp_id_get(
void
);
21
__attribute__ ((pure))
extern
struct
lib_ctx
*lib_ctx_get(
void
);
simtime_t
double simtime_t
The type used to represent logical time in the simulation.
Definition:
core.h:62
lib_ctx
Definition:
lib.h:17
lp_id_t
uint64_t lp_id_t
Used to uniquely identify LPs in the simulation.
Definition:
core.h:75
core.h
Core ROOT-Sim functionalities.
serial_simulation
void serial_simulation(void)
Handles a full serial simulation runs.
Definition:
serial.c:188
src
serial
serial.h
Generated by
1.8.17