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

Classes

struct  tmgr_trace_event
 

Typedefs

typedef struct tmgr_trace_event s_tmgr_trace_event_t
 
typedef struct tmgr_trace_eventtmgr_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 (const char *filename)
 
tmgr_trace_t tmgr_trace_new_from_string (const char *id, std::string input, double periodicity)
 

Typedef Documentation

◆ s_tmgr_trace_event_t

◆ 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 ( const char *  filename)

◆ tmgr_trace_new_from_string()

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