Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
SIMIX call + MSG function + Java binding for get_core
[simgrid.git] / src / bindings / java / org / simgrid / msg / Host.java
index 82a4753..3b7f41f 100644 (file)
@@ -164,6 +164,15 @@ public class Host {
         *
         */ 
        public native double getSpeed();
+
+       /**
+        * This method returns the number of core of a host.
+        *
+        * @return                      The speed of the processor of the host in flops.
+        *
+        */ 
+       public native double getCore();
+
        /**
         * Returns the value of a given host property. 
         */