#include "parmap_private.h"
-XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_parmap, xbt,
- "parmap: parallel map");
+XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_parmap, xbt, "parmap: parallel map");
+XBT_LOG_NEW_SUBCATEGORY(xbt_parmap_unit, xbt_parmap, "parmap unit testing");
static void *_xbt_parmap_worker_main(void *parmap);
#include "xbt/ex.h"
XBT_TEST_SUITE("parmap", "Parallel Map");
+XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(xbt_parmap_unit);
-XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_parmap_unit, xbt,
- "unit parmap");
xbt_parmap_t parmap;
XBT_LOG_EXTERNAL_CATEGORY(xbt_queue);
XBT_LOG_EXTERNAL_CATEGORY(xbt_set);
XBT_LOG_EXTERNAL_CATEGORY(xbt_sync_os);
+XBT_LOG_EXTERNAL_CATEGORY(xbt_parmap);
+XBT_LOG_EXTERNAL_CATEGORY(xbt_parmap_unit);
/* Declare xbt_preinit and xbt_postexit as constructor/destructor of the library.
XBT_LOG_CONNECT(xbt_queue, xbt);
XBT_LOG_CONNECT(xbt_set, xbt);
XBT_LOG_CONNECT(xbt_sync_os, xbt);
+ XBT_LOG_CONNECT(xbt_parmap,xbt);
+ XBT_LOG_CONNECT(xbt_parmap_unit,xbt_parmap);
xbt_fifo_preinit();
xbt_dict_preinit();