X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2c8820859cfc00e1cbf4ba9cbfafadcb827b6197..d5da0b1cbb3bbd66e62160fe10d55046b1773b6e:/src/bindings/java/surfdoc.i diff --git a/src/bindings/java/surfdoc.i b/src/bindings/java/surfdoc.i index 362c1e48fa..02a6c89f46 100644 --- a/src/bindings/java/surfdoc.i +++ b/src/bindings/java/surfdoc.i @@ -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, @@ -159,7 +159,7 @@ * A cpu constructor (using LMM) * @param model * @param name - * @param properties + * @param props * @param constraint * @param core * @param powerPeak @@ -173,7 +173,7 @@ * A cpu constructor * @param model * @param name - * @param properties + * @param props * @param core * @param powerPeak * @param powerScale @@ -236,45 +236,43 @@ %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"; -%typemap(javaimports) NetworkLink " +%typemap(javaimports) Link " /** * A generic resource for the network component */" - %javamethodmodifiers NetworkLink::getBandwidth() " + %javamethodmodifiers Link::getBandwidth() " /** * @return The bandwidth of the link */ public"; -%javamethodmodifiers NetworkLink::updateBandwidth(double value, double date=surf_get_clock()) " +%javamethodmodifiers Link::updateBandwidth(double value, double date=surf_get_clock()) " /** * @param value The new bandwidth - * @param date When to change the bandwidth */ public"; - %javamethodmodifiers NetworkLink::getLatency() " + %javamethodmodifiers Link::getLatency() " /** * @return The latency of the link */ public"; -%javamethodmodifiers NetworkLink::updateLatency(double value, double date=surf_get_clock()) " +%javamethodmodifiers Link::updateLatency(double value, double date=surf_get_clock()) " /** * @param value The new latency - * @param date When to change the latency */ public"; @@ -327,7 +325,7 @@ %javamethodmodifiers Action::setBound(double bound) " /** - * @param TODO + * @param bound TODO */ public"; @@ -346,13 +344,13 @@ %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"; @@ -383,7 +381,7 @@ %typemap(javaimports) NetworkAction " /** * An network action created by network model - * @see NetworkLink + * @see Link */" %javamethodmodifiers NetworkAction::getLatency() "