SimGrid  3.17
Versatile Simulation of Distributed Systems
instr_private.h File Reference
#include <xbt/base.h>
#include "instr/instr_interface.h"
#include "simgrid/instr.h"
#include "simgrid_config.h"
#include "src/internal_config.h"
#include <set>
#include <string>
#include "xbt/graph.h"
#include "xbt/dict.h"

Classes

class  simgrid::instr::Type
 
class  simgrid::instr::Value
 
class  simgrid::instr::Container
 
class  simgrid::instr::PajeEvent
 
class  simgrid::instr::SetVariableEvent
 
class  simgrid::instr::AddVariableEvent
 
class  simgrid::instr::SubVariableEvent
 
class  simgrid::instr::SetStateEvent
 
class  simgrid::instr::PushStateEvent
 
class  simgrid::instr::PopStateEvent
 
class  simgrid::instr::ResetStateEvent
 
class  simgrid::instr::StartLinkEvent
 
class  simgrid::instr::EndLinkEvent
 
class  simgrid::instr::NewEvent
 
struct  s_instr_extra_data
 

Namespaces

 simgrid
 Alltoall Bruck.
 
 simgrid::instr
 

Macros

#define INSTR_DEFAULT_STR_SIZE   500
 

Typedefs

typedef simgrid::instr::Containercontainer_t
 
typedef struct s_instr_extra_datainstr_extra_data
 
typedef struct s_instr_extra_data s_instr_extra_data_t
 

Enumerations

enum  simgrid::instr::e_event_type {
  simgrid::instr::PAJE_DefineContainerType, simgrid::instr::PAJE_DefineVariableType, simgrid::instr::PAJE_DefineStateType, simgrid::instr::PAJE_DefineEventType,
  simgrid::instr::PAJE_DefineLinkType, simgrid::instr::PAJE_DefineEntityValue, simgrid::instr::PAJE_CreateContainer, simgrid::instr::PAJE_DestroyContainer,
  simgrid::instr::PAJE_SetVariable, simgrid::instr::PAJE_AddVariable, simgrid::instr::PAJE_SubVariable, simgrid::instr::PAJE_SetState,
  simgrid::instr::PAJE_PushState, simgrid::instr::PAJE_PopState, simgrid::instr::PAJE_ResetState, simgrid::instr::PAJE_StartLink,
  simgrid::instr::PAJE_EndLink, simgrid::instr::PAJE_NewEvent
}
 
enum  simgrid::instr::e_entity_types {
  simgrid::instr::TYPE_VARIABLE, simgrid::instr::TYPE_LINK, simgrid::instr::TYPE_CONTAINER, simgrid::instr::TYPE_STATE,
  simgrid::instr::TYPE_EVENT
}
 
enum  simgrid::instr::e_container_types {
  simgrid::instr::INSTR_HOST, simgrid::instr::INSTR_LINK, simgrid::instr::INSTR_ROUTER, simgrid::instr::INSTR_AS,
  simgrid::instr::INSTR_SMPI, simgrid::instr::INSTR_MSG_VM, simgrid::instr::INSTR_MSG_PROCESS, simgrid::instr::INSTR_MSG_TASK
}
 
enum  e_caller_type {
  TRACING_INIT, TRACING_FINALIZE, TRACING_COMM_SIZE, TRACING_COMM_SPLIT,
  TRACING_COMM_DUP, TRACING_SEND, TRACING_ISEND, TRACING_SSEND,
  TRACING_ISSEND, TRACING_RECV, TRACING_IRECV, TRACING_SENDRECV,
  TRACING_TEST, TRACING_WAIT, TRACING_WAITALL, TRACING_WAITANY,
  TRACING_BARRIER, TRACING_BCAST, TRACING_REDUCE, TRACING_ALLREDUCE,
  TRACING_ALLTOALL, TRACING_ALLTOALLV, TRACING_GATHER, TRACING_GATHERV,
  TRACING_SCATTER, TRACING_SCATTERV, TRACING_ALLGATHER, TRACING_ALLGATHERV,
  TRACING_REDUCE_SCATTER, TRACING_COMPUTING, TRACING_SLEEPING, TRACING_SCAN,
  TRACING_EXSCAN
}
 
enum  instr_fmt_type_t { instr_fmt_paje, instr_fmt_TI }
 

Functions

void TRACE_header (int basic, int size)
 
void TRACE_paje_start ()
 
void TRACE_paje_end ()
 
void TRACE_paje_dump_buffer (int force)
 
bool TRACE_needs_platform ()
 
bool TRACE_is_enabled ()
 
bool TRACE_platform ()
 
bool TRACE_platform_topology ()
 
bool TRACE_is_configured ()
 
bool TRACE_categorized ()
 
bool TRACE_uncategorized ()
 
bool TRACE_msg_process_is_enabled ()
 
bool TRACE_msg_vm_is_enabled ()
 
bool TRACE_buffer ()
 
bool TRACE_disable_link ()
 
bool TRACE_disable_speed ()
 
bool TRACE_onelink_only ()
 
bool TRACE_disable_destroy ()
 
bool TRACE_basic ()
 
bool TRACE_display_sizes ()
 
char * TRACE_get_comment ()
 
char * TRACE_get_comment_file ()
 
int TRACE_precision ()
 
char * TRACE_get_filename ()
 
char * TRACE_get_viva_uncat_conf ()
 
char * TRACE_get_viva_cat_conf ()
 
void TRACE_generate_viva_uncat_conf ()
 
void TRACE_generate_viva_cat_conf ()
 
void instr_pause_tracing ()
 
void instr_resume_tracing ()
 
bool TRACE_smpi_is_enabled ()
 
bool TRACE_smpi_is_grouped ()
 
bool TRACE_smpi_is_computing ()
 
bool TRACE_smpi_is_sleeping ()
 
bool TRACE_smpi_view_internals ()
 
void TRACE_surf_host_set_utilization (const char *resource, const char *category, double value, double now, double delta)
 
void TRACE_surf_link_set_utilization (const char *resource, const char *category, double value, double now, double delta)
 
void TRACE_surf_resource_utilization_alloc ()
 
long long int instr_new_paje_id ()
 
container_t PJ_container_get (const char *name)
 
simgrid::instr::ContainerPJ_container_get_or_null (const char *name)
 
container_t PJ_container_get_root ()
 
void PJ_container_set_root (container_t root)
 
void PJ_container_free_all (void)
 
void PJ_container_remove_from_parent (container_t container)
 
simgrid::instr::TypePJ_type_get_root ()
 
void TRACE_TI_start ()
 
void TRACE_TI_end ()
 
void dump_comment_file (const char *filename)
 
void dump_comment (const char *comment)
 
void LogContainerTypeDefinition (simgrid::instr::Type *type)
 
void LogVariableTypeDefinition (simgrid::instr::Type *type)
 
void LogStateTypeDefinition (simgrid::instr::Type *type)
 
void LogLinkTypeDefinition (simgrid::instr::Type *type, simgrid::instr::Type *source, simgrid::instr::Type *dest)
 
void LogEntityValue (simgrid::instr::Value *val)
 
void LogContainerCreation (container_t container)
 
void LogContainerDestruction (container_t container)
 
void LogDefineEventType (simgrid::instr::Type *type)
 

Variables

std::set< std::stringcreated_categories
 
std::set< std::stringdeclared_marks
 
std::set< std::stringuser_host_variables
 
std::set< std::stringuser_vm_variables
 
std::set< std::stringuser_link_variables
 
double TRACE_last_timestamp_to_dump
 
std::set< std::stringtrivaNodeTypes
 
std::set< std::stringtrivaEdgeTypes
 
instr_fmt_type_t instr_fmt_type
 

Macro Definition Documentation

◆ INSTR_DEFAULT_STR_SIZE

#define INSTR_DEFAULT_STR_SIZE   500

Typedef Documentation

◆ container_t

◆ instr_extra_data

◆ s_instr_extra_data_t

Enumeration Type Documentation

◆ e_caller_type

Enumerator
TRACING_INIT 
TRACING_FINALIZE 
TRACING_COMM_SIZE 
TRACING_COMM_SPLIT 
TRACING_COMM_DUP 
TRACING_SEND 
TRACING_ISEND 
TRACING_SSEND 
TRACING_ISSEND 
TRACING_RECV 
TRACING_IRECV 
TRACING_SENDRECV 
TRACING_TEST 
TRACING_WAIT 
TRACING_WAITALL 
TRACING_WAITANY 
TRACING_BARRIER 
TRACING_BCAST 
TRACING_REDUCE 
TRACING_ALLREDUCE 
TRACING_ALLTOALL 
TRACING_ALLTOALLV 
TRACING_GATHER 
TRACING_GATHERV 
TRACING_SCATTER 
TRACING_SCATTERV 
TRACING_ALLGATHER 
TRACING_ALLGATHERV 
TRACING_REDUCE_SCATTER 
TRACING_COMPUTING 
TRACING_SLEEPING 
TRACING_SCAN 
TRACING_EXSCAN 

◆ instr_fmt_type_t

Enumerator
instr_fmt_paje 
instr_fmt_TI 

Function Documentation

◆ TRACE_header()

void TRACE_header ( int  basic,
int  size 
)

◆ TRACE_paje_start()

void TRACE_paje_start ( )

◆ TRACE_paje_end()

void TRACE_paje_end ( )

◆ TRACE_paje_dump_buffer()

void TRACE_paje_dump_buffer ( int  force)

◆ TRACE_needs_platform()

bool TRACE_needs_platform ( )

◆ TRACE_is_enabled()

bool TRACE_is_enabled ( )

◆ TRACE_platform()

bool TRACE_platform ( )

◆ TRACE_platform_topology()

bool TRACE_platform_topology ( )

◆ TRACE_is_configured()

bool TRACE_is_configured ( )

◆ TRACE_categorized()

bool TRACE_categorized ( )

◆ TRACE_uncategorized()

bool TRACE_uncategorized ( )

◆ TRACE_msg_process_is_enabled()

bool TRACE_msg_process_is_enabled ( )

◆ TRACE_msg_vm_is_enabled()

bool TRACE_msg_vm_is_enabled ( )

◆ TRACE_buffer()

bool TRACE_buffer ( )

◆ TRACE_disable_link()

bool TRACE_disable_link ( )

◆ TRACE_disable_speed()

bool TRACE_disable_speed ( )

◆ TRACE_onelink_only()

bool TRACE_onelink_only ( )

◆ TRACE_disable_destroy()

bool TRACE_disable_destroy ( )

◆ TRACE_basic()

bool TRACE_basic ( )

◆ TRACE_display_sizes()

bool TRACE_display_sizes ( )

◆ TRACE_get_comment()

char* TRACE_get_comment ( )

◆ TRACE_get_comment_file()

char* TRACE_get_comment_file ( )

◆ TRACE_precision()

int TRACE_precision ( )

◆ TRACE_get_filename()

char* TRACE_get_filename ( )

◆ TRACE_get_viva_uncat_conf()

char* TRACE_get_viva_uncat_conf ( )

◆ TRACE_get_viva_cat_conf()

char* TRACE_get_viva_cat_conf ( )

◆ TRACE_generate_viva_uncat_conf()

void TRACE_generate_viva_uncat_conf ( )

◆ TRACE_generate_viva_cat_conf()

void TRACE_generate_viva_cat_conf ( )

◆ instr_pause_tracing()

void instr_pause_tracing ( )

◆ instr_resume_tracing()

void instr_resume_tracing ( )

◆ TRACE_smpi_is_enabled()

bool TRACE_smpi_is_enabled ( )

◆ TRACE_smpi_is_grouped()

bool TRACE_smpi_is_grouped ( )

◆ TRACE_smpi_is_computing()

bool TRACE_smpi_is_computing ( )

◆ TRACE_smpi_is_sleeping()

bool TRACE_smpi_is_sleeping ( )

◆ TRACE_smpi_view_internals()

bool TRACE_smpi_view_internals ( )

◆ TRACE_surf_host_set_utilization()

void TRACE_surf_host_set_utilization ( const char *  resource,
const char *  category,
double  value,
double  now,
double  delta 
)

◆ TRACE_surf_link_set_utilization()

void TRACE_surf_link_set_utilization ( const char *  resource,
const char *  category,
double  value,
double  now,
double  delta 
)

◆ TRACE_surf_resource_utilization_alloc()

void TRACE_surf_resource_utilization_alloc ( )

◆ instr_new_paje_id()

long long int instr_new_paje_id ( )

◆ PJ_container_get()

container_t PJ_container_get ( const char *  name)

◆ PJ_container_get_or_null()

simgrid::instr::Container* PJ_container_get_or_null ( const char *  name)

◆ PJ_container_get_root()

container_t PJ_container_get_root ( )

◆ PJ_container_set_root()

void PJ_container_set_root ( container_t  root)

◆ PJ_container_free_all()

void PJ_container_free_all ( void  )

◆ PJ_container_remove_from_parent()

void PJ_container_remove_from_parent ( container_t  container)

◆ PJ_type_get_root()

simgrid::instr::Type* PJ_type_get_root ( )

◆ TRACE_TI_start()

void TRACE_TI_start ( )

◆ TRACE_TI_end()

void TRACE_TI_end ( )

◆ dump_comment_file()

void dump_comment_file ( const char *  filename)

◆ dump_comment()

void dump_comment ( const char *  comment)

◆ LogContainerTypeDefinition()

void LogContainerTypeDefinition ( simgrid::instr::Type type)

◆ LogVariableTypeDefinition()

void LogVariableTypeDefinition ( simgrid::instr::Type type)

◆ LogStateTypeDefinition()

void LogStateTypeDefinition ( simgrid::instr::Type type)

◆ LogLinkTypeDefinition()

void LogLinkTypeDefinition ( simgrid::instr::Type type,
simgrid::instr::Type source,
simgrid::instr::Type dest 
)

◆ LogEntityValue()

void LogEntityValue ( simgrid::instr::Value val)

◆ LogContainerCreation()

void LogContainerCreation ( container_t  container)

◆ LogContainerDestruction()

void LogContainerDestruction ( container_t  container)

◆ LogDefineEventType()

void LogDefineEventType ( simgrid::instr::Type type)

Variable Documentation

◆ created_categories

std::set<std::string> created_categories

◆ declared_marks

std::set<std::string> declared_marks

◆ user_host_variables

std::set<std::string> user_host_variables

◆ user_vm_variables

std::set<std::string> user_vm_variables

◆ user_link_variables

std::set<std::string> user_link_variables

◆ TRACE_last_timestamp_to_dump

double TRACE_last_timestamp_to_dump

◆ trivaNodeTypes

std::set<std::string> trivaNodeTypes

◆ trivaEdgeTypes

std::set<std::string> trivaEdgeTypes

◆ instr_fmt_type

instr_fmt_type_t instr_fmt_type