Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cosmetics: adjust method names in debug messages.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 19 Feb 2019 20:00:28 +0000 (21:00 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 20 Feb 2019 08:33:12 +0000 (09:33 +0100)
src/kernel/activity/ExecImpl.cpp
src/kernel/activity/IoImpl.cpp
src/kernel/activity/SynchroRaw.cpp

index ba2413b..0969448 100644 (file)
@@ -162,29 +162,29 @@ void ExecImpl::finish()
 
       case SIMIX_DONE:
         /* do nothing, synchro done */
-        XBT_DEBUG("SIMIX_execution_finished: execution successful");
+        XBT_DEBUG("ExecImpl::finish(): execution successful");
         break;
 
       case SIMIX_FAILED:
-        XBT_DEBUG("SIMIX_execution_finished: host '%s' failed", simcall->issuer->get_host()->get_cname());
+        XBT_DEBUG("ExecImpl::finish(): host '%s' failed", simcall->issuer->get_host()->get_cname());
         simcall->issuer->context_->iwannadie = true;
         simcall->issuer->exception_ =
             std::make_exception_ptr(simgrid::HostFailureException(XBT_THROW_POINT, "Host failed"));
         break;
 
       case SIMIX_CANCELED:
-        XBT_DEBUG("SIMIX_execution_finished: execution canceled");
+        XBT_DEBUG("ExecImpl::finish(): execution canceled");
         simcall->issuer->exception_ =
             std::make_exception_ptr(simgrid::CancelException(XBT_THROW_POINT, "Execution Canceled"));
         break;
 
       case SIMIX_TIMEOUT:
-        XBT_DEBUG("SIMIX_execution_finished: execution timeouted");
+        XBT_DEBUG("ExecImpl::finish(): execution timeouted");
         simcall->issuer->exception_ = std::make_exception_ptr(simgrid::TimeoutError(XBT_THROW_POINT, "Timeouted"));
         break;
 
       default:
-        xbt_die("Internal error in SIMIX_execution_finish: unexpected synchro state %d", static_cast<int>(state_));
+        xbt_die("Internal error in ExecImpl::finish(): unexpected synchro state %d", static_cast<int>(state_));
     }
 
     simcall->issuer->waiting_synchro = nullptr;
index b96036d..7597010 100644 (file)
@@ -110,7 +110,7 @@ void IoImpl::finish()
             std::make_exception_ptr(simgrid::CancelException(XBT_THROW_POINT, "I/O Canceled"));
         break;
       default:
-        xbt_die("Internal error in SIMIX_io_finish: unexpected synchro state %d", static_cast<int>(state_));
+        xbt_die("Internal error in IoImpl::finish(): unexpected synchro state %d", static_cast<int>(state_));
     }
 
     simcall->issuer->waiting_synchro = nullptr;
index 42133c2..8961561 100644 (file)
@@ -60,11 +60,11 @@ void RawImpl::finish()
   switch (state_) {
     case SIMIX_DONE:
       /* do nothing, synchro done */
-      XBT_DEBUG("SIMIX_execution_finished: execution successful");
+      XBT_DEBUG("RawImpl::finish(): execution successful");
       break;
 
     case SIMIX_FAILED:
-      XBT_DEBUG("SIMIX_execution_finished: host '%s' failed", simcall->issuer->get_host()->get_cname());
+      XBT_DEBUG("RawImpl::finish(): host '%s' failed", simcall->issuer->get_host()->get_cname());
       simcall->issuer->context_->iwannadie = true;
       simcall->issuer->exception_ =
           std::make_exception_ptr(simgrid::HostFailureException(XBT_THROW_POINT, "Host failed"));