int TRACE_start ()
{
- if (!_TRACE_configured()){
+ if (!TRACE_is_configured()){
THROW0 (tracing_error, TRACE_ERROR_START,
"TRACE_start should be called after SimGrid initialization functions.");
return 0;
return 0;
}
- char *filename = _TRACE_filename ();
+ char *filename = TRACE_get_filename ();
if (!filename){
THROW0 (tracing_error, TRACE_ERROR_START,
"Trace filename is not initialized.");
pajeDefineVariableType ("power", "HOST", "power");
pajeDefineVariableType ("bandwidth", "LINK", "bandwidth");
pajeDefineVariableType ("latency", "LINK", "latency");
+ pajeDefineEventType ("source", "LINK", "source");
+ pajeDefineEventType ("destination", "LINK", "destination");
}
if (IS_TRACING_PROCESSES || IS_TRACING_VOLUME){
/* other trace initialization */
defined_types = xbt_dict_new();
created_categories = xbt_dict_new();
- __TRACE_msg_init();
- __TRACE_category_init ();
- TRACE_surf_init();
- __TRACE_msg_process_init ();
- __TRACE_smpi_init ();
+ TRACE_msg_task_alloc ();
+ TRACE_category_alloc ();
+ TRACE_surf_alloc ();
+ TRACE_msg_process_alloc ();
+ TRACE_smpi_alloc ();
return 0;
}
if (!IS_TRACING) return 1;
if (category != NULL){
int ret = TRACE_category (category);
- __TRACE_category_set (SIMIX_process_self(), category);
+ TRACE_category_set (SIMIX_process_self(), category);
return ret;
}else{
- __TRACE_category_unset (SIMIX_process_self());
+ TRACE_category_unset (SIMIX_process_self());
return 0;
}
}