SimGrid  3.11
Versatile Simulation of Distributed Systems
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
SURF Interface

Describes the general interface for all components (Cpu, Network, Storage, Workstation, WorkstationVM) More...

Data Structures

class  Model
 SURF model interface class. More...
 
struct  s_surf_metric_t
 Resource which have a metric handled by a maxmin system. More...
 
class  Resource
 SURF resource interface class. More...
 
class  Action
 SURF action interface class. More...
 

Enumerations

enum  e_surf_resource_state_t { SURF_RESOURCE_ON = 1, SURF_RESOURCE_OFF = 0 }
 Defines whether a given resource is working or not. More...
 
enum  e_surf_action_state_t {
  SURF_ACTION_READY = 0, SURF_ACTION_RUNNING, SURF_ACTION_FAILED, SURF_ACTION_DONE,
  SURF_ACTION_TO_FREE, SURF_ACTION_NOT_IN_THE_SYSTEM
}
 Action states. More...
 
enum  e_UM_t { UM_FULL, UM_LAZY, UM_UNDEFINED }
 Possible update mechanisms. More...
 

Detailed Description

Describes the general interface for all components (Cpu, Network, Storage, Workstation, WorkstationVM)

Enumeration Type Documentation

Defines whether a given resource is working or not.

Enumerator
SURF_RESOURCE_ON 

Up & ready

SURF_RESOURCE_OFF 

Down & broken

Action states.

Action states.

See also
Action
Enumerator
SURF_ACTION_READY 

Ready

SURF_ACTION_RUNNING 

Running

SURF_ACTION_FAILED 

Task Failure

SURF_ACTION_DONE 

Completed

SURF_ACTION_TO_FREE 

Action to free in next cleanup

SURF_ACTION_NOT_IN_THE_SYSTEM 

Not in the system anymore. Why did you ask ?

enum e_UM_t

Possible update mechanisms.

Enumerator
UM_FULL 

[TODO]

UM_LAZY 

[TODO]

UM_UNDEFINED 

Mechanism not defined