A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improve the doc of MSG datatypes (and dispatch them in the relevant modules)
[simgrid.git]
/
src
/
msg
/
msg_global.c
diff --git
a/src/msg/msg_global.c
b/src/msg/msg_global.c
index
5ea9fa1
..
cb06f1d
100644
(file)
--- a/
src/msg/msg_global.c
+++ b/
src/msg/msg_global.c
@@
-12,6
+12,7
@@
#include "xbt/virtu.h"
#include "xbt/ex.h" /* ex_backtrace_display */
#include "xbt/virtu.h"
#include "xbt/ex.h" /* ex_backtrace_display */
+XBT_LOG_NEW_CATEGORY(msg, "All MSG categories");
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_kernel, msg,
"Logging specific to MSG (kernel)");
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_kernel, msg,
"Logging specific to MSG (kernel)");
@@
-38,12
+39,6
@@
void MSG_global_init(int *argc, char **argv)
xbt_getpid = MSG_process_self_PID;
if (!msg_global) {
xbt_getpid = MSG_process_self_PID;
if (!msg_global) {
- /* Connect our log channels: that must be done manually under windows */
- XBT_LOG_CONNECT(msg_gos, msg);
- XBT_LOG_CONNECT(msg_kernel, msg);
- XBT_LOG_CONNECT(msg_mailbox, msg);
- XBT_LOG_CONNECT(msg_process, msg);
-
SIMIX_global_init(argc, argv);
msg_global = xbt_new0(s_MSG_Global_t, 1);
SIMIX_global_init(argc, argv);
msg_global = xbt_new0(s_MSG_Global_t, 1);
@@
-205,7
+200,7
@@
MSG_error_t MSG_clean(void)
}
}
-/** \ingroup msg_
easier_life
+/** \ingroup msg_
simulation
* \brief A clock (in second).
*/
XBT_INLINE double MSG_get_clock(void)
* \brief A clock (in second).
*/
XBT_INLINE double MSG_get_clock(void)