From de3208adefb5c1fc6ceccde40f01486db3d89d2f Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Wed, 16 Dec 2015 12:33:59 +0100 Subject: [PATCH] kill an unimplemented function. Fix #14 --- include/simgrid/msg.h | 1 - src/msg/msg_host.cpp | 12 ------------ 2 files changed, 13 deletions(-) diff --git a/include/simgrid/msg.h b/include/simgrid/msg.h index 872ccb9378..b5ee53a04e 100644 --- a/include/simgrid/msg.h +++ b/include/simgrid/msg.h @@ -300,7 +300,6 @@ XBT_PUBLIC(const char *) MSG_host_get_name(msg_host_t host); XBT_PUBLIC(void) MSG_host_on(msg_host_t host); XBT_PUBLIC(void) MSG_host_off(msg_host_t host); XBT_PUBLIC(msg_host_t) MSG_host_self(void); -XBT_PUBLIC(int) MSG_get_host_msgload(msg_host_t host); XBT_PUBLIC(double) MSG_get_host_speed(msg_host_t h); XBT_PUBLIC(int) MSG_host_get_core_number(msg_host_t h); XBT_PUBLIC(xbt_swag_t) MSG_host_get_process_list(msg_host_t h); diff --git a/src/msg/msg_host.cpp b/src/msg/msg_host.cpp index 552ae8be6c..c6a6e3ecbc 100644 --- a/src/msg/msg_host.cpp +++ b/src/msg/msg_host.cpp @@ -210,18 +210,6 @@ xbt_dynar_t MSG_hosts_as_dynar(void) { return sg_hosts_as_dynar(); } -/** \ingroup m_host_management - * \brief Return the number of MSG tasks currently running on a - * #msg_host_t. The external load is not taken in account. - */ -int MSG_get_host_msgload(msg_host_t h) -{ - xbt_assert((h != NULL), "Invalid parameters"); - xbt_die( "Not implemented yet"); - - return (0); -} - /** \ingroup m_host_management * \brief Return the speed of the processor (in flop/s), regardless of the current load on the machine. -- 2.20.1