and LDFLAGS.
* Enable tracing by default. This modules rocks you should use it.
* Use default cmake things to detect lua instead of home grown ones.
+ * New option "enable_mallocators" to disable mallocators, for debugging
+ purpose ("on" by default).
Documentation:
* Split the doc into a user guide and a reference guide.
* Make it impossible to link against the wrong version of the lib
* Bug fixes that made the host (and link) failures unusable.
* Add a way to auto-restart process when the host in which they are
- executing comes back (ON_FAILURE="RESTART" on deployment file,
+ executing comes back (ON_FAILURE="RESTART" on deployment file,
MSG_process_auto_restart_set).
* Use the "msg_" prefix for all datatypes (instead of m_, msg_ and MSG_),
please stop using the old ones, they are DEPRECATED.
communication_amount structures is now done seamlessly thanks to the chosen
assumptions.
* New function SD_workstation_dump to display various information
- * New function SD_task_set_rate to throttle the bandwidth allowed to be used
- by a SD_TASK_COMM_E2E typed task. This rate depends on both the nominal
- bandwidth on the route onto which the task is scheduled and the amount of
+ * New function SD_task_set_rate to throttle the bandwidth allowed to be used
+ by a SD_TASK_COMM_E2E typed task. This rate depends on both the nominal
+ bandwidth on the route onto which the task is scheduled and the amount of
data to transfer.
To divide the nominal bandwidth by 2, the rate then has to be :
rate = bandwidth/(2*amount)
(from their beginning)
* Increasing source code coverage (src/simdag is now covered at 95.8%
on average)
-
+
SMPI:
* Re-implement time-independent trace replay using SMPI (at the
smpi_smp_* level) instead of MSG. This should replace
examples/msg/actions/actions.c
* Implement the exchange of non-contiguous data.
[Khalid Hasanov & Jean-Noel Quintin] Thanks for the patch, guys.
-
+
XBT:
* Functions xbt_dict_hash() and xbt_dict_hash_ext() are made public,
and renamed to xbt_str_hash() and xbt_str_hash_ext().
option(enable_latency_bound_tracking "" off)
option(enable_coverage "Enable coverage." off)
option(enable_memcheck "Enable memcheck." off)
+option(enable_mallocators "Enable mallocators (for debugging purpose)." on)
option(enable_print_message "Enable print message during config." off)
option(enable_model-checking "Turn this on to experiment with our prototype of model-checker (hinders the simulation's performance even if turned of at runtime)" off)
option(enable_lib_static "" off)
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_mallocator, xbt, "Mallocators");
-
-/* Change to 0 to completely disable mallocators. */
-#define MALLOCATOR_IS_WANTED 1
-
/* Mallocators and memory mess introduced by model-checking do not mix well
* together: the mallocator will give standard memory when we are using raw
* memory (so these blocks are killed on restore) and the contrary (so these
xbt_assert(new_f != NULL && free_f != NULL, "invalid parameter");
m = xbt_new0(s_xbt_mallocator_t, 1);
- XBT_VERB("Create mallocator %p", m);
+ XBT_VERB("Create mallocator %p (%s)",
+ m, MALLOCATOR_IS_ENABLED ? "enabled" : "disabled");
m->current_size = 0;
m->new_f = new_f;
m->free_f = free_f;
m->max_size = size;
m->mutex = xbt_os_mutex_init();
} else {
- if (!MALLOCATOR_IS_WANTED) /* Warn to avoid to commit debugging settings */
- XBT_WARN("Mallocator is disabled!");
m->objects = NULL;
m->max_size = 0;
m->mutex = NULL;