SimGrid  3.18
Versatile Simulation of Distributed Systems
trace_mgr.hpp File Reference
#include "simgrid/forward.h"
#include "xbt/sysdep.h"
#include <queue>
#include <vector>

Classes

struct  s_tmgr_trace_event_t
 
class  simgrid::trace_mgr::DatedValue
 
class  simgrid::trace_mgr::trace_event
 A trace_iterator links a trace to a resource. More...
 
class  simgrid::trace_mgr::trace
 A trace is a set of timed values, encoding the value that a variable takes at what time *. More...
 
class  simgrid::trace_mgr::future_evt_set
 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. More...
 

Namespaces

 simgrid
 Alltoall Bruck.
 
 simgrid::trace_mgr
 Modeling of the availability profile (due to an external load) or the churn.
 

Typedefs

typedef s_tmgr_trace_event_ttmgr_trace_event_t
 

Functions

void tmgr_trace_event_unref (tmgr_trace_event_t *trace_event)
 Free a trace event structure. More...
 
void tmgr_finalize ()
 
tmgr_trace_t tmgr_trace_new_from_file (std::string filename)
 
tmgr_trace_t tmgr_trace_new_from_string (std::string id, std::string input, double periodicity)
 
std::ostream & simgrid::trace_mgr::operator<< (std::ostream &out, const DatedValue &e)
 

Typedef Documentation

◆ tmgr_trace_event_t

Function Documentation

◆ tmgr_trace_event_unref()

void tmgr_trace_event_unref ( tmgr_trace_event_t trace_event)

Free a trace event structure.

This function frees a trace_event if it can be freed, ie, if it has the free_me flag set to 1. This flag indicates whether the structure is still used somewhere or not. When the structure is freed, the argument is set to nullptr

◆ tmgr_finalize()

void tmgr_finalize ( )

◆ tmgr_trace_new_from_file()

tmgr_trace_t tmgr_trace_new_from_file ( std::string  filename)

◆ tmgr_trace_new_from_string()

tmgr_trace_t tmgr_trace_new_from_string ( std::string  id,
std::string  input,
double  periodicity 
)