Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix bug with const in java bindings
[simgrid.git] / src / bindings / java / surfdoc.i
index 362c1e4..bea7464 100644 (file)
@@ -68,7 +68,7 @@
   public";
 
 
-%javamethodmodifiers CpuModel::createResource(const char *name, DoubleDynar power_peak,
+%javamethodmodifiers CpuModel::createCpu(const char *name, DoubleDynar power_peak,
                               int pstate, double power_scale,
                               tmgr_trace *power_trace, int core,
                               e_surf_resource_state_t state_initial,
     * A cpu constructor (using LMM)
     * @param model
     * @param name
-    * @param properties
+    * @param props
     * @param constraint
     * @param core
     * @param powerPeak
     * A cpu constructor
     * @param model
     * @param name
-    * @param properties
+    * @param props
     * @param core
     * @param powerPeak
     * @param powerScale
 
 %javamethodmodifiers Cpu::setPowerPeakAt(int pstate_index) "
   /**
-    * @param  index of power peak to set
+    * @param pstate_index index of power peak to set
     */
   public";
 
 %javamethodmodifiers Cpu::setState(e_surf_resource_state_t state) "
   /**
-    * @param The new state of the cpu
+    * @param state The new state of the cpu
     */
   public";
 
 
 %javamethodmodifiers Action::setBound(double bound) "
   /**
-    * @param TODO
+    * @param bound TODO
     */
   public";
 
 
 %javamethodmodifiers Action::setPriority(double priority) "
   /**
-    * @param The new priority of the action
+    * @param priority The new priority of the action
     */
   public";
 
 %javamethodmodifiers Action::setState(e_surf_action_state_t state) "
   /**
-    * @param The new state
+    * @param state The new state
     */
   public";