From b4c416b8b1a5cf0b3f4e6220303548d673603385 Mon Sep 17 00:00:00 2001 From: Arnaud Legrand Date: Sun, 22 May 2011 12:23:25 -0700 Subject: [PATCH] Improve debugging messages when dispaying the status of blocked process. --- src/simix/smx_global.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/simix/smx_global.c b/src/simix/smx_global.c index 2cb2b39f0a..abc2281e7b 100644 --- a/src/simix/smx_global.c +++ b/src/simix/smx_global.c @@ -325,6 +325,8 @@ void SIMIX_display_process_status(void) XBT_INFO("%d processes are still running, waiting for something.", nbprocess); /* List the process and their state */ + XBT_INFO + ("Legend of the following listing: \"() on : .\""); xbt_swag_foreach(process, simix_global->process_list) { if (process->waiting_action) { @@ -356,8 +358,8 @@ void SIMIX_display_process_status(void) action_description = "I/O"; break; } - XBT_INFO("Process %ld (%s@%s): waiting for %s action %p to finish", process->pid, process->name, process->smx_host->name, - action_description, process->waiting_action); + XBT_INFO("Process %ld (%s@%s): waiting for %s action %p (%s) to finish", process->pid, process->name, process->smx_host->name, + action_description, process->waiting_action, process->waiting_action->name); } } } -- 2.20.1