User Tools

Site Tools


pads:gaia-apis

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
pads:gaia-apis [2010/11/10 13:23] gdangelopads:gaia-apis [2011/02/11 08:41] gdangelo
Line 97: Line 97:
  
 //none// //none//
- 
----- 
- 
  
 **Return value:** **Return value:**
Line 208: Line 205:
  
 //none// //none//
 +
 +----
  
  
Line 236: Line 235:
  
 //none// //none//
 +
 +----
  
  
Line 258: Line 259:
  
 //none// //none//
 +
 +----
  
  
Line 288: Line 291:
  
 //none// //none//
 +
 +----
  
  
Line 309: Line 314:
  
 //none// //none//
 +
 +----
  
  
Line 330: Line 337:
  
 //none// //none//
 +
 +----
  
  
Line 351: Line 360:
  
 //none// //none//
 +
 +----
 +
  
 ===  GAIA_SetMigration()  === ===  GAIA_SetMigration()  ===
Line 378: Line 390:
   * GAIA_SetMT(): for an introduction to the Migration Threshold, that is a mechanism that reduces the migration rate of SEs;   * GAIA_SetMT(): for an introduction to the Migration Threshold, that is a mechanism that reduces the migration rate of SEs;
   * GAIA_SetMF(): for an introduction to the Migration Factor, that is the parameter that is used to evaluate if and where activate the migration mechanism for a SE;   * GAIA_SetMF(): for an introduction to the Migration Factor, that is the parameter that is used to evaluate if and where activate the migration mechanism for a SE;
 +  * E1_HISTORY_SLOTS, default value = 4. It can be modified in the simulation setup using the GAIA_SetHistorySlots() API.
   * E2_EVENT_HISTORY_SIZE, default value = 100. It is how many events (FIFO order) are considered by migration heuristics 2 and 3. This value can be changed using the GAIA_SetEventHistorySize() API.   * E2_EVENT_HISTORY_SIZE, default value = 100. It is how many events (FIFO order) are considered by migration heuristics 2 and 3. This value can be changed using the GAIA_SetEventHistorySize() API.
   * E3_EVENT_COUNTDOWN, default value = 30. It is the interval of events before a new evaluation of the heuristic. This value can be changed using the GAIA_SetCountDown() API.   * E3_EVENT_COUNTDOWN, default value = 30. It is the interval of events before a new evaluation of the heuristic. This value can be changed using the GAIA_SetCountDown() API.
-  * HISTORY_SLOTS, default value = 4. It can be modified in the simulation setup using the GAIA_SetHistorySlots() API. 
  
 **Return value:** **Return value:**
  
 //none// //none//
 +
 +----
 +
  
 ==== Load Balancing ==== ==== Load Balancing ====
Line 407: Line 422:
  
 //none// //none//
 +
 +----
  
  
Line 435: Line 452:
  
 //none// //none//
 +
 +----
  
  
Line 464: Line 483:
  
 //none// //none//
 +
 +----
  
  
Line 491: Line 512:
  
 //none// //none//
 +
 +----
  
  
Line 521: Line 544:
  
 //none// //none//
 +
 +----
  
  
Line 550: Line 575:
 Returns the message (String). Returns the message (String).
  
 +----
  
  
Line 580: Line 606:
  
 Returns the message (byte-array). Returns the message (byte-array).
 +
 +----
  
  
Line 610: Line 638:
  
 //none// //none//
 +
 +
 +----
  
 ===== C bindings ===== ===== C bindings =====
Line 620: Line 651:
 void    GAIA_SetMF (float); void    GAIA_SetMF (float);
 void    GAIA_SetMT (unsigned int); void    GAIA_SetMT (unsigned int);
 +void GAIA_SetCountDown ( int );
 +void GAIA_SetHistorySlots (int );
 +void GAIA_SetEventHistorySize (int );
 void    GAIA_SetMigration (int); void    GAIA_SetMigration (int);
 void    GAIA_SetLoadBalancing (int); void    GAIA_SetLoadBalancing (int);
pads/gaia-apis.txt · Last modified: 2017/12/20 07:48 by gdangelo

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki