SimGrid  3.15
Versatile Simulation of Distributed Systems
instr.h File Reference
#include "xbt.h"
#include "simgrid/msg.h"

Functions

void TRACE_category (const char *category)
 Declare a new category with a random color. More...
 
void TRACE_category_with_color (const char *category, const char *color)
 Declare a new category with a color. More...
 
xbt_dynar_t TRACE_get_categories ()
 Get declared categories. More...
 
void TRACE_smpi_set_category (const char *category)
 
void TRACE_declare_mark (const char *mark_type)
 Declare a new type for tracing mark. More...
 
void TRACE_declare_mark_value_with_color (const char *mark_type, const char *mark_value, const char *mark_color)
 Declare a new colored value for a previously declared mark type. More...
 
void TRACE_declare_mark_value (const char *mark_type, const char *mark_value)
 Declare a new value for a previously declared mark type. More...
 
void TRACE_mark (const char *mark_type, const char *mark_value)
 Create a new instance of a tracing mark type. More...
 
xbt_dynar_t TRACE_get_marks ()
 Get declared marks. More...
 
int TRACE_platform_graph_export_graphviz (const char *filename)
 Creates a file with the topology of the platform file used for the simulator. More...
 
void TRACE_vm_variable_declare (const char *variable)
 Declare a new user variable associated to VMs. More...
 
void TRACE_vm_variable_declare_with_color (const char *variable, const char *color)
 Declare a new user variable associated to VMs with a color. More...
 
void TRACE_vm_variable_set (const char *vm, const char *variable, double value)
 Set the value of a variable of a host. More...
 
void TRACE_vm_variable_add (const char *vm, const char *variable, double value)
 Add a value to a variable of a VM. More...
 
void TRACE_vm_variable_sub (const char *vm, const char *variable, double value)
 Subtract a value from a variable of a VM. More...
 
void TRACE_vm_variable_set_with_time (double time, const char *vm, const char *variable, double value)
 Set the value of a variable of a VM at a given timestamp. More...
 
void TRACE_vm_variable_add_with_time (double time, const char *vm, const char *variable, double value)
 Add a value to a variable of a VM at a given timestamp. More...
 
void TRACE_vm_variable_sub_with_time (double time, const char *vm, const char *variable, double value)
 Subtract a value from a variable of a VM at a given timestamp. More...
 
xbt_dynar_t TRACE_get_vm_variables ()
 Get declared user vm variables. More...
 
void TRACE_host_variable_declare (const char *variable)
 Declare a new user variable associated to hosts. More...
 
void TRACE_host_variable_declare_with_color (const char *variable, const char *color)
 Declare a new user variable associated to hosts with a color. More...
 
void TRACE_host_variable_set (const char *host, const char *variable, double value)
 Set the value of a variable of a host. More...
 
void TRACE_host_variable_add (const char *host, const char *variable, double value)
 Add a value to a variable of a host. More...
 
void TRACE_host_variable_sub (const char *host, const char *variable, double value)
 Subtract a value from a variable of a host. More...
 
void TRACE_host_variable_set_with_time (double time, const char *host, const char *variable, double value)
 Set the value of a variable of a host at a given timestamp. More...
 
void TRACE_host_variable_add_with_time (double time, const char *host, const char *variable, double value)
 Add a value to a variable of a host at a given timestamp. More...
 
void TRACE_host_variable_sub_with_time (double time, const char *host, const char *variable, double value)
 Subtract a value from a variable of a host at a given timestamp. More...
 
xbt_dynar_t TRACE_get_host_variables ()
 Get declared user host variables. More...
 
void TRACE_link_variable_declare (const char *var)
 Declare a new user variable associated to links. More...
 
void TRACE_link_variable_declare_with_color (const char *var, const char *color)
 Declare a new user variable associated to links with a color. More...
 
void TRACE_link_variable_set (const char *link, const char *variable, double value)
 Set the value of a variable of a link. More...
 
void TRACE_link_variable_add (const char *link, const char *variable, double value)
 Add a value to a variable of a link. More...
 
void TRACE_link_variable_sub (const char *link, const char *variable, double value)
 Subtract a value from a variable of a link. More...
 
void TRACE_link_variable_set_with_time (double time, const char *link, const char *variable, double value)
 Set the value of a variable of a link at a given timestamp. More...
 
void TRACE_link_variable_add_with_time (double time, const char *link, const char *variable, double value)
 Add a value to a variable of a link at a given timestamp. More...
 
void TRACE_link_variable_sub_with_time (double time, const char *link, const char *variable, double value)
 Subtract a value from a variable of a link at a given timestamp. More...
 
void TRACE_link_srcdst_variable_set (const char *src, const char *dst, const char *variable, double value)
 Set the value of the variable present in the links connecting source and destination. More...
 
void TRACE_link_srcdst_variable_add (const char *src, const char *dst, const char *variable, double value)
 Add a value to the variable present in the links connecting source and destination. More...
 
void TRACE_link_srcdst_variable_sub (const char *src, const char *dst, const char *variable, double value)
 Subtract a value from the variable present in the links connecting source and destination. More...
 
void TRACE_link_srcdst_variable_set_with_time (double time, const char *src, const char *dst, const char *variable, double value)
 Set the value of the variable present in the links connecting source and destination at a given timestamp. More...
 
void TRACE_link_srcdst_variable_add_with_time (double time, const char *src, const char *dst, const char *variable, double value)
 Add a value to the variable present in the links connecting source and destination at a given timestamp. More...
 
void TRACE_link_srcdst_variable_sub_with_time (double time, const char *src, const char *dst, const char *variable, double value)
 Subtract a value from the variable present in the links connecting source and dest. More...
 
xbt_dynar_t TRACE_get_link_variables ()
 Get declared user link variables. More...
 
void TRACE_host_state_declare (const char *state)
 Declare a new user state associated to hosts. More...
 
void TRACE_host_state_declare_value (const char *state, const char *value, const char *color)
 Declare a new value for a user state associated to hosts. More...
 
void TRACE_host_set_state (const char *host, const char *state, const char *value)
 Set the user state to the given value. More...
 
void TRACE_host_push_state (const char *host, const char *state, const char *value)
 Push a new value for a state of a given host. More...
 
void TRACE_host_pop_state (const char *host, const char *state)
 Pop the last value of a state of a given host. More...
 
void TRACE_host_reset_state (const char *host, const char *state)
 Reset the state of a given host. More...
 
xbt_dynar_t TRACE_get_node_types ()
 Get Paje container types that can be mapped to the nodes of a graph. More...
 
xbt_dynar_t TRACE_get_edge_types ()
 Get Paje container types that can be mapped to the edges of a graph. More...
 
void TRACE_pause ()
 Pauses all tracing activities. More...
 
void TRACE_resume ()
 Resumes all tracing activities. More...
 

Function Documentation

◆ TRACE_smpi_set_category()

void TRACE_smpi_set_category ( const char *  category)