SimGrid  3.16
Versatile Simulation of Distributed Systems
instr_paje_trace.cpp File Reference
#include "src/instr/instr_private.h"
#include "src/instr/instr_smpi.h"
#include "src/smpi/private.hpp"
#include "typeinfo"
#include "xbt/virtu.h"
#include "simgrid/sg_config.h"
#include <sstream>
#include <vector>
#include <iomanip>
#include <sys/stat.h>

Functions

 XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_paje_trace, instr, "tracing event system")
 std::setprecision More...
 
void print_NULL (PajeEvent *event)
 
void buffer_debug (std::vector< PajeEvent *> *buf)
 
void dump_comment (const char *comment)
 
void dump_comment_file (const char *filename)
 
void TRACE_paje_dump_buffer (int force)
 
static void print_row ()
 
static void print_timestamp (PajeEvent *event)
 
static void insert_into_buffer (PajeEvent *tbi)
 
void TRACE_paje_start ()
 
void TRACE_paje_end ()
 
void DefineContainerEvent (type_t type)
 
void LogVariableTypeDefinition (type_t type)
 
void LogStateTypeDefinition (type_t type)
 
void LogDefineEventType (type_t type)
 
void LogLinkTypeDefinition (type_t type, type_t source, type_t dest)
 
void LogEntityValue (val_t value)
 
void LogContainerCreation (container_t container)
 
void LogContainerDestruction (container_t container)
 
void TRACE_TI_start ()
 
void TRACE_TI_end ()
 

Variables

static std::stringstream stream
 
FILE * tracing_file = nullptr
 
static xbt_dict_t tracing_files = nullptr
 
static double prefix =0.0
 
std::vector< PajeEvent * > buffer
 
double TRACE_last_timestamp_to_dump = 0
 

Function Documentation

◆ XBT_LOG_NEW_DEFAULT_SUBCATEGORY()

XBT_LOG_NEW_DEFAULT_SUBCATEGORY ( instr_paje_trace  ,
instr  ,
"tracing event system"   
)

std::setprecision

◆ print_NULL()

void print_NULL ( PajeEvent event)

◆ buffer_debug()

void buffer_debug ( std::vector< PajeEvent *> *  buf)

◆ dump_comment()

void dump_comment ( const char *  comment)

◆ dump_comment_file()

void dump_comment_file ( const char *  filename)

◆ TRACE_paje_dump_buffer()

void TRACE_paje_dump_buffer ( int  force)

◆ print_row()

static void print_row ( )
static

◆ print_timestamp()

static void print_timestamp ( PajeEvent event)
static

◆ insert_into_buffer()

static void insert_into_buffer ( PajeEvent tbi)
static

◆ TRACE_paje_start()

void TRACE_paje_start ( )

◆ TRACE_paje_end()

void TRACE_paje_end ( )

◆ DefineContainerEvent()

void DefineContainerEvent ( type_t  type)

◆ LogVariableTypeDefinition()

void LogVariableTypeDefinition ( type_t  type)

◆ LogStateTypeDefinition()

void LogStateTypeDefinition ( type_t  type)

◆ LogDefineEventType()

void LogDefineEventType ( type_t  type)

◆ LogLinkTypeDefinition()

void LogLinkTypeDefinition ( type_t  type,
type_t  source,
type_t  dest 
)

◆ LogEntityValue()

void LogEntityValue ( val_t  value)

◆ LogContainerCreation()

void LogContainerCreation ( container_t  container)

◆ LogContainerDestruction()

void LogContainerDestruction ( container_t  container)

◆ TRACE_TI_start()

void TRACE_TI_start ( )

◆ TRACE_TI_end()

void TRACE_TI_end ( )

Variable Documentation

◆ stream

std::stringstream stream
static

◆ tracing_file

FILE* tracing_file = nullptr

◆ tracing_files

xbt_dict_t tracing_files = nullptr
static

◆ prefix

double prefix =0.0
static

◆ buffer

int int errorclass int flag void baseptr void int MPI_Datatype void int int MPI_Datatype int MPI_Comm comm MPI_Status MPI_Datatype int count char int resultlen void int MPI_Datatype int MPI_Aint int MPI_Datatype MPI_Win win void void MPI_Datatype int MPI_Aint MPI_Op MPI_Win win MPI_Group MPI_Group MPI_Group newgroup MPI_Group group MPI_Group MPI_Group MPI_Group newgroup MPI_Group int int MPI_Group newgroup MPI_Group int size MPI_Group MPI_Group MPI_Group newgroup MPI_Info char key MPI_Info info MPI_Info int nkeys MPI_Info char int int flag int flag int char int int provided void int MPI_Datatype int int MPI_Comm MPI_Request request void int MPI_Datatype int int MPI_Comm MPI_Request request MPI_Copy_function MPI_Delete_function int void extra_state MPI_User_function int MPI_Op op MPI_Op int commute void int MPI_Datatype void int int MPI_Comm comm void int MPI_Datatype int MPI_Aint int MPI_Datatype MPI_Win win void int MPI_Datatype int MPI_Aint int MPI_Datatype MPI_Op MPI_Win MPI_Request request void int MPI_Datatype int int MPI_Comm MPI_Status status void void int MPI_Datatype MPI_Op MPI_Comm comm void void int MPI_Datatype MPI_Op int MPI_Comm comm void int MPI_Datatype int MPI_Aint int MPI_Datatype MPI_Win MPI_Request request void int MPI_Datatype int MPI_Aint int MPI_Datatype MPI_Win MPI_Request request void int MPI_Datatype void int MPI_Datatype int MPI_Comm comm void int MPI_Datatype int int MPI_Comm MPI_Request request void int MPI_Datatype int int void int MPI_Datatype int int MPI_Comm MPI_Status status void int MPI_Datatype int int MPI_Comm MPI_Request request int MPI_Request requests int MPI_Request int MPI_Status statuses MPI_Request int MPI_Status status MPI_Datatype datatype int int MPI_Aint MPI_Datatype MPI_Datatype newtype int int MPI_Aint MPI_Datatype MPI_Datatype new_type int int int MPI_Datatype MPI_Datatype newtype MPI_Datatype MPI_Aint MPI_Aint MPI_Datatype newtype MPI_Datatype int type_keyval MPI_Datatype MPI_Aint extent MPI_Datatype datatype MPI_Datatype MPI_Aint MPI_Aint extent MPI_Datatype MPI_Aint MPI_Aint extent int int MPI_Aint MPI_Datatype MPI_Datatype newtype MPI_Datatype MPI_Aint disp MPI_Datatype char name MPI_Datatype MPI_Count size MPI_Datatype MPI_Aint disp void int int void int MPI_Datatype MPI_Comm comm int MPI_Request int MPI_Status status int MPI_Request int int MPI_Status status void MPI_Aint int MPI_Info MPI_Comm MPI_Win win MPI_Win void MPI_Aint size MPI_Info MPI_Comm MPI_Win win MPI_Win win MPI_Win char int len MPI_Group int MPI_Win win MPI_Win MPI_Info info MPI_Win win int MPI_Win win MPI_Win win int MPI_Win win MPI_Win win MPI_Win int void att MPI_Win_copy_attr_function MPI_Win_delete_attr_function int void extra_state MPI_Fint comm MPI_Comm comm MPI_Info info MPI_Request request MPI_Win win MPI_Fint info MPI_Fint request int errorclass int char string void int MPI_Datatype int int MPI_Comm MPI_Request request void int buffer

◆ TRACE_last_timestamp_to_dump

double TRACE_last_timestamp_to_dump = 0