SimGrid
3.18
Versatile Simulation of Distributed Systems
|
Future Event Set (collection of iterators over the traces) That's useful to quickly know which is the next occurring event in a set of traces.
#include <trace_mgr.hpp>
Public Member Functions | |
future_evt_set () | |
virtual | ~future_evt_set () |
double | next_date () const |
returns the date of the next occurring event (pure function) More... | |
tmgr_trace_event_t | pop_leq (double date, double *value, simgrid::surf::Resource **resource) |
Retrieves the next occurring event, or nullptr if none happens before #date. More... | |
tmgr_trace_event_t | add_trace (tmgr_trace_t trace, simgrid::surf::Resource *resource) |
Registers a new trace into the future event set, and get an iterator over the integrated trace. More... | |
|
default |
|
virtual |
double simgrid::trace_mgr::future_evt_set::next_date | ( | ) | const |
returns the date of the next occurring event (pure function)
tmgr_trace_event_t simgrid::trace_mgr::future_evt_set::pop_leq | ( | double | date, |
double * | value, | ||
simgrid::surf::Resource ** | resource | ||
) |
Retrieves the next occurring event, or nullptr if none happens before #date.
tmgr_trace_event_t simgrid::trace_mgr::future_evt_set::add_trace | ( | tmgr_trace_t | trace, |
simgrid::surf::Resource * | resource | ||
) |
Registers a new trace into the future event set, and get an iterator over the integrated trace.