- CRITICAL0("The trace cannot be done because "
- "the platform you are using contains "
- "routes with more than one link.");
- THROW0(tracing_error, TRACE_ERROR_COMPLEX_ROUTES, "Tracing failed");
-}
-
-void TRACE_msg_clean (void)
-{
- char *key, *value;
- xbt_dict_cursor_t cursor = NULL;
- TRACE_surf_finalize();
-
- /* get all host from host_containers */
- xbt_dict_foreach(host_containers, cursor, key, value) {
- pajeDestroyContainer (MSG_get_clock(), "HOST", key);
- }
- xbt_dict_foreach(created_links, cursor, key, value) {
- pajeDestroyContainer (MSG_get_clock(), "LINK", key);
- }
-}
-
-void TRACE_surf_host_vivaldi_parse (char *host, double x, double y, double h)
-{
- char valuestr[100];
- if (!IS_TRACING || !IS_TRACING_PLATFORM) return;
-
- snprintf (valuestr, 100, "%g", x);
- pajeSetVariable (0, "vivaldi_x", host, valuestr);
- snprintf (valuestr, 100, "%g", y);
- pajeSetVariable (0, "vivaldi_y", host, valuestr);
- snprintf (valuestr, 100, "%g", h);
- pajeSetVariable (0, "vivaldi_h", host, valuestr);
+ char valuestr[100];
+ if (!IS_TRACING || !IS_TRACING_PLATFORM)
+ return;
+
+ snprintf(valuestr, 100, "%g", x);
+ pajeSetVariable(0, "vivaldi_x", host, valuestr);
+ snprintf(valuestr, 100, "%g", y);
+ pajeSetVariable(0, "vivaldi_y", host, valuestr);
+ snprintf(valuestr, 100, "%g", h);
+ pajeSetVariable(0, "vivaldi_h", host, valuestr);