From: schnorr Date: Mon, 13 Dec 2010 16:45:19 +0000 (+0000) Subject: [trace] fix: container creation timestamp should definitely not be 0 here, use simula... X-Git-Tag: v3.6_beta2~715 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d43e9af5c93b318fc1e7862ab552ef60822608f9 [trace] fix: container creation timestamp should definitely not be 0 here, use simulation time instead git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9208 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/instr/instr_routing.c b/src/instr/instr_routing.c index 42dfda5caa..496f6de81c 100644 --- a/src/instr/instr_routing.c +++ b/src/instr/instr_routing.c @@ -197,7 +197,7 @@ container_t newContainer (const char *name, e_container_types kind, container_t new->children = xbt_dict_new(); if (new->father){ xbt_dict_set(new->father->children, new->name, new, NULL); - pajeCreateContainer (0, new->id, new->type->id, new->father->id, new->name); + pajeCreateContainer (SIMIX_get_clock(), new->id, new->type->id, new->father->id, new->name); } //register hosts, routers, links containers