SimGrid  3.13
Versatile Simulation of Distributed Systems
trace_mgr.hpp File Reference
#include "xbt/heap.h"
#include "simgrid/forward.h"

Classes

struct  tmgr_event
 
struct  tmgr_trace_iterator
 

Typedefs

typedef struct tmgr_event s_tmgr_event_t
 
typedef struct tmgr_eventtmgr_event_t
 
typedef struct tmgr_trace_iterator s_tmgr_trace_event_t
 
typedef struct tmgr_trace_iteratortmgr_trace_iterator_t
 

Functions

tmgr_trace_t tmgr_empty_trace_new (void)
 
void tmgr_trace_free (tmgr_trace_t trace)
 
void tmgr_trace_event_unref (tmgr_trace_iterator_t *trace_event)
 Free a trace event structure. More...
 
void tmgr_finalize (void)
 
tmgr_trace_t tmgr_trace_new_from_file (const char *filename)
 
tmgr_trace_t tmgr_trace_new_from_string (const char *id, const char *input, double periodicity)
 

Typedef Documentation

typedef struct tmgr_event s_tmgr_event_t
typedef struct tmgr_event * tmgr_event_t

Function Documentation

tmgr_trace_t tmgr_empty_trace_new ( void  )
void tmgr_trace_free ( tmgr_trace_t  trace)
void tmgr_trace_event_unref ( tmgr_trace_iterator_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

void tmgr_finalize ( void  )
tmgr_trace_t tmgr_trace_new_from_file ( const char *  filename)
tmgr_trace_t tmgr_trace_new_from_string ( const char *  id,
const char *  input,
double  periodicity 
)