Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
correct a small glitch in the example
authorsuter <suter@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 4 May 2010 14:29:50 +0000 (14:29 +0000)
committersuter <suter@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 4 May 2010 14:29:50 +0000 (14:29 +0000)
the recv should display the finish time of the task in the trace, not
the start time

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7682 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/simdag/dax/dax_test.c

index 86e54dc..23591d6 100644 (file)
@@ -107,7 +107,7 @@ int main(int argc, char **argv) {
       fprintf(out,"[%f] %s send %s %f # %s\n",SD_task_get_start_time(task),
           SD_workstation_get_name(wsl[0]),SD_workstation_get_name(wsl[1]),
           SD_task_get_amount(task), SD_task_get_name(task));
       fprintf(out,"[%f] %s send %s %f # %s\n",SD_task_get_start_time(task),
           SD_workstation_get_name(wsl[0]),SD_workstation_get_name(wsl[1]),
           SD_task_get_amount(task), SD_task_get_name(task));
-      fprintf(out,"[%f] %s recv %s %f # %s\n",SD_task_get_start_time(task),
+      fprintf(out,"[%f] %s recv %s %f # %s\n",SD_task_get_finish_time(task),
           SD_workstation_get_name(wsl[1]),SD_workstation_get_name(wsl[0]),
           SD_task_get_amount(task), SD_task_get_name(task));
       break;
           SD_workstation_get_name(wsl[1]),SD_workstation_get_name(wsl[0]),
           SD_task_get_amount(task), SD_task_get_name(task));
       break;