XBT_PUBLIC(int) MSG_get_host_msgload(msg_host_t host);
/* int MSG_get_msgload(void); This function lacks specification; discard it */
XBT_PUBLIC(double) MSG_get_host_speed(msg_host_t h);
-XBT_PUBLIC(int) MSG_get_host_core(msg_host_t h);
+XBT_PUBLIC(int) MSG_host_get_core_number(msg_host_t h);
XBT_PUBLIC(int) MSG_host_is_avail(msg_host_t h);
XBT_PUBLIC(void) __MSG_host_destroy(msg_host_priv_t host);
}
JNIEXPORT jdouble JNICALL
-Java_org_simgrid_msg_Host_getCore(JNIEnv * env,
+Java_org_simgrid_msg_Host_getCoreNumber(JNIEnv * env,
jobject jhost) {
msg_host_t host = jhost_get_native(env, jhost);
return -1;
}
- return (jdouble) MSG_get_host_core(host);
+ return (jdouble) MSG_host_get_core_number(host);
}
JNIEXPORT jint JNICALL
(JNIEnv *, jobject);
/*
* Class org_simgrid_msg_Host
- * Method getCore
+ * Method getCoreNumber
* Signature ()D
*/
-JNIEXPORT jdouble JNICALL Java_org_simgrid_msg_Host_getCore
+JNIEXPORT jdouble JNICALL Java_org_simgrid_msg_Host_getCoreNumber
(JNIEnv *, jobject);
/*
* Class org_simgrid_msg_Host
* @return The speed of the processor of the host in flops.
*
*/
- public native double getCore();
+ public native double getCoreNumber();
/**
* Returns the value of a given host property.
/** \ingroup m_host_management
* \brief Return the number of core.
*/
-int MSG_get_host_core(msg_host_t h)
+int MSG_host_get_core_number(msg_host_t h)
{
xbt_assert((h != NULL), "Invalid parameters");