From: Christian Heinrich Date: Wed, 8 Jun 2016 13:43:06 +0000 (+0200) Subject: [SMPI] Cosmetics & replace call to smpi_os with sleeptime X-Git-Tag: v3_14~1032 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/929e64331e374345b319da9002ed37eeecdcd375?ds=sidebyside [SMPI] Cosmetics & replace call to smpi_os with sleeptime --- diff --git a/src/smpi/smpi_base.cpp b/src/smpi/smpi_base.cpp index a4b3197044..6766e4a176 100644 --- a/src/smpi/smpi_base.cpp +++ b/src/smpi/smpi_base.cpp @@ -427,13 +427,13 @@ void smpi_mpi_start(MPI_Request request) double sleeptime = 0.0; if(request->detached != 0 || ((request->flags & (ISEND|SSEND)) != 0)){// issend should be treated as isend //isend and send timings may be different - sleeptime = ((request->flags & ISEND) != 0)? smpi_ois(request->size) : smpi_os(request->size); + sleeptime = ((request->flags & ISEND) != 0) ? smpi_ois(request->size) : smpi_os(request->size); } if(sleeptime > 0.0){ simcall_process_sleep(sleeptime); - XBT_DEBUG("sending size of %zu : sleep %f ", request->size, smpi_os(request->size)); - } + XBT_DEBUG("sending size of %zu : sleep %f ", request->size, sleeptime); + } int async_small_thresh = xbt_cfg_get_int("smpi/async-small-thresh");