#include "src/kernel/activity/CommImpl.hpp"
#include "simgrid/modelchecker.h"
-#include "src/mc/mc_replay.h"
+#include "src/mc/mc_replay.hpp"
#include "src/simix/smx_network_private.hpp"
#include "src/surf/surf_interface.hpp"
/** @brief get the amount remaining from the communication */
double simgrid::kernel::activity::CommImpl::remains()
{
- if (state == SIMIX_RUNNING)
- return surf_comm->getRemains();
-
- /* FIXME: check what should be returned in the other cases */
- return 0;
+ return surf_comm->getRemains();
}
/** @brief This is part of the cleanup process, probably an internal command */