SimGrid  3.14.159
Versatile Simulation of Distributed Systems
instr_trace.cpp File Reference

Functions

 XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_trace, instr, "tracing event system")
 
void print_NULL (paje_event_t event)
 
void dump_comment (const char *comment)
 
void dump_comment_file (const char *filename)
 
void TRACE_paje_dump_buffer (int force)
 
static void insert_into_buffer (paje_event_t tbi)
 
static void free_paje_event (paje_event_t event)
 
void new_pajeDefineContainerType (type_t type)
 
void new_pajeDefineVariableType (type_t type)
 
void new_pajeDefineStateType (type_t type)
 
void new_pajeDefineEventType (type_t type)
 
void new_pajeDefineLinkType (type_t type, type_t source, type_t dest)
 
void new_pajeDefineEntityValue (val_t value)
 
void new_pajeCreateContainer (container_t container)
 
void new_pajeDestroyContainer (container_t container)
 
void new_pajeSetVariable (double timestamp, container_t container, type_t type, double value)
 
void new_pajeAddVariable (double timestamp, container_t container, type_t type, double value)
 
void new_pajeSubVariable (double timestamp, container_t container, type_t type, double value)
 
void new_pajeSetState (double timestamp, container_t container, type_t type, val_t value)
 
void new_pajePushStateWithExtra (double timestamp, container_t container, type_t type, val_t value, void *extra)
 
void new_pajePushState (double timestamp, container_t container, type_t type, val_t value)
 
void new_pajePopState (double timestamp, container_t container, type_t type)
 
void new_pajeResetState (double timestamp, container_t container, type_t type)
 
void new_pajeStartLink (double timestamp, container_t container, type_t type, container_t sourceContainer, const char *value, const char *key)
 
void new_pajeStartLinkWithSize (double timestamp, container_t container, type_t type, container_t sourceContainer, const char *value, const char *key, int size)
 
void new_pajeEndLink (double timestamp, container_t container, type_t type, container_t destContainer, const char *value, const char *key)
 
void new_pajeNewEvent (double timestamp, container_t container, type_t type, val_t value)
 

Variables

FILE * tracing_file = nullptr
 
s_instr_trace_writer_t active_writer
 
std::vector< paje_event_tbuffer
 
double TRACE_last_timestamp_to_dump = 0
 

Function Documentation

§ XBT_LOG_NEW_DEFAULT_SUBCATEGORY()

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

§ print_NULL()

void print_NULL ( paje_event_t  event)

§ 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)

§ insert_into_buffer()

static void insert_into_buffer ( paje_event_t  tbi)
static

§ free_paje_event()

static void free_paje_event ( paje_event_t  event)
static

§ new_pajeDefineContainerType()

void new_pajeDefineContainerType ( type_t  type)

§ new_pajeDefineVariableType()

void new_pajeDefineVariableType ( type_t  type)

§ new_pajeDefineStateType()

void new_pajeDefineStateType ( type_t  type)

§ new_pajeDefineEventType()

void new_pajeDefineEventType ( type_t  type)

§ new_pajeDefineLinkType()

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

§ new_pajeDefineEntityValue()

void new_pajeDefineEntityValue ( val_t  value)

§ new_pajeCreateContainer()

void new_pajeCreateContainer ( container_t  container)

§ new_pajeDestroyContainer()

void new_pajeDestroyContainer ( container_t  container)

§ new_pajeSetVariable()

void new_pajeSetVariable ( double  timestamp,
container_t  container,
type_t  type,
double  value 
)

§ new_pajeAddVariable()

void new_pajeAddVariable ( double  timestamp,
container_t  container,
type_t  type,
double  value 
)

§ new_pajeSubVariable()

void new_pajeSubVariable ( double  timestamp,
container_t  container,
type_t  type,
double  value 
)

§ new_pajeSetState()

void new_pajeSetState ( double  timestamp,
container_t  container,
type_t  type,
val_t  value 
)

§ new_pajePushStateWithExtra()

void new_pajePushStateWithExtra ( double  timestamp,
container_t  container,
type_t  type,
val_t  value,
void extra 
)

§ new_pajePushState()

void new_pajePushState ( double  timestamp,
container_t  container,
type_t  type,
val_t  value 
)

§ new_pajePopState()

void new_pajePopState ( double  timestamp,
container_t  container,
type_t  type 
)

§ new_pajeResetState()

void new_pajeResetState ( double  timestamp,
container_t  container,
type_t  type 
)

§ new_pajeStartLink()

void new_pajeStartLink ( double  timestamp,
container_t  container,
type_t  type,
container_t  sourceContainer,
const char *  value,
const char *  key 
)

§ new_pajeStartLinkWithSize()

void new_pajeStartLinkWithSize ( double  timestamp,
container_t  container,
type_t  type,
container_t  sourceContainer,
const char *  value,
const char *  key,
int  size 
)

§ new_pajeEndLink()

void new_pajeEndLink ( double  timestamp,
container_t  container,
type_t  type,
container_t  destContainer,
const char *  value,
const char *  key 
)

§ new_pajeNewEvent()

void new_pajeNewEvent ( double  timestamp,
container_t  container,
type_t  type,
val_t  value 
)

Variable Documentation

§ tracing_file

FILE* tracing_file = nullptr

§ active_writer

s_instr_trace_writer_t active_writer
Initial value:
void print_NULL(paje_event_t event)
Definition: instr_trace.cpp:16

§ buffer

void int MPI_Datatype int MPI_Aint int MPI_Datatype MPI_Op MPI_Win win void int MPI_Datatype void int MPI_Datatype MPI_Comm comm MPI_Aint MPI_Info void baseptr void int MPI_Datatype void int MPI_Datatype MPI_Comm comm MPI_Comm int keyval MPI_Comm int void attr_value void int MPI_Datatype int MPI_Comm comm MPI_Comm int int int int MPI_Comm comm_cart MPI_Comm int int int int coords MPI_Comm int int int int dest MPI_Comm MPI_Comm int result MPI_Comm MPI_Group MPI_Comm newcomm MPI_Comm comm int keyval MPI_Comm int void int flag MPI_Comm MPI_Group group MPI_Comm int void attribute_val MPI_Comm int int MPI_Comm comm_out 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 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 int MPI_Datatype MPI_Comm int size int int MPI_Comm MPI_Status status int provided 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 void int MPI_Datatype MPI_Op MPI_Comm comm void int int MPI_Datatype void int MPI_Datatype int MPI_Comm comm void int MPI_Datatype int int int int MPI_Comm MPI_Status status void int MPI_Datatype int int MPI_Comm comm void int MPI_Datatype int int MPI_Comm comm MPI_Request request int MPI_Request int int MPI_Status status int MPI_Request int int MPI_Status statuses int MPI_Datatype MPI_Datatype newtype int int MPI_Aint MPI_Datatype MPI_Datatype new_type int int int MPI_Datatype MPI_Datatype newtype MPI_Type_copy_attr_function MPI_Type_delete_attr_function int void extra_state int int MPI_Aint MPI_Datatype MPI_Datatype newtype MPI_Datatype MPI_Datatype newdatatype int keyval MPI_Datatype int void int flag MPI_Datatype char int len int int MPI_Aint MPI_Datatype MPI_Datatype newtype int int int MPI_Datatype MPI_Datatype newtype MPI_Datatype int void attribute_val MPI_Datatype int 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 win MPI_Win char int len MPI_Win char name MPI_Win win MPI_Fint datatype MPI_Group group MPI_Op op MPI_Datatype datatype MPI_Fint group MPI_Fint op MPI_Fint win int int errorcode void int int MPI_Datatype void int int MPI_Datatype MPI_Comm comm void int MPI_Datatype int int MPI_Comm comm void int buffer

§ TRACE_last_timestamp_to_dump

double TRACE_last_timestamp_to_dump = 0