X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/147811411b3a91e010527fcb6c0343cb79e06330..1d2844ee474282b8b92db2ffee9e48e0472e93da:/src/instr/instr_paje.c diff --git a/src/instr/instr_paje.c b/src/instr/instr_paje.c index 0d32eda6ba..8b300ed22c 100644 --- a/src/instr/instr_paje.c +++ b/src/instr/instr_paje.c @@ -250,6 +250,15 @@ container_t getContainer (const char *name) return recursiveGetContainer(name, rootContainer); } +int knownContainerWithName (const char *name) +{ + if (xbt_dict_get_or_null (allContainers, name)){ + return 1; + }else{ + return 0; + } +} + container_t getContainerByName (const char *name) { return (container_t)xbt_dict_get (allContainers, name);