SimGrid  3.11
Versatile Simulation of Distributed Systems
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
WorkstationVMModel Class Referenceabstract

SURF workstation VM model interface class. More...

#include <vm_workstation_interface.hpp>

Inheritance diagram for WorkstationVMModel:
WorkstationModel Model

Public Member Functions

 WorkstationVMModel ()
 WorkstationVMModel consrtuctor.
 
 ~WorkstationVMModel ()
 WorkstationVMModel consrtuctor.
 
virtual WorkstationVMPtr createWorkstationVM (const char *name, surf_resource_t ind_phys_workstation)=0
 Create a new WorkstationVM. More...
 
void adjustWeightOfDummyCpuActions ()
 [brief description] More...
 
- Public Member Functions inherited from WorkstationModel
 WorkstationModel (const char *name)
 WorkstationModel constructor. More...
 
 WorkstationModel ()
 WorkstationModel constructor.
 
 ~WorkstationModel ()
 WorkstationModel destructor.
 
virtual ActionPtr executeParallelTask (int workstation_nb, void **workstation_list, double *computation_amount, double *communication_amount, double rate)=0
 [brief description] More...
 
virtual ActionPtr communicate (WorkstationPtr src, WorkstationPtr dst, double size, double rate)=0
 [brief description] More...
 
- Public Member Functions inherited from Model
 Model (const char *name)
 Model constructor. More...
 
virtual ~Model ()
 Model destructor.
 
const char * getName ()
 Get the name of the current Model. More...
 
virtual ActionListPtr getReadyActionSet ()
 Get the set of actions in ready state. More...
 
virtual ActionListPtr getRunningActionSet ()
 Get the set of actions in running state. More...
 
virtual ActionListPtr getFailedActionSet ()
 Get the set of actions in failed state. More...
 
virtual ActionListPtr getDoneActionSet ()
 Get the set of actions in done state. More...
 
virtual ActionLmmListPtr getModifiedSet ()
 Get the set of modified actions. More...
 
lmm_system_t getMaxminSystem ()
 Get the maxmin system of the current Model. More...
 
e_UM_t getUpdateMechanism ()
 Get the update mechanism of the current Model. More...
 
xbt_heap_t getActionHeap ()
 Get Action heap. More...
 
virtual double shareResources (double now)
 share the resources More...
 
virtual void updateActionsState (double now, double delta)
 Update state of actions. More...
 

Detailed Description

SURF workstation VM model interface class.

A model is an object which handle the interactions between its Resources and its Actions

Member Function Documentation

virtual WorkstationVMPtr WorkstationVMModel::createWorkstationVM ( const char *  name,
surf_resource_t  ind_phys_workstation 
)
pure virtual

Create a new WorkstationVM.

Parameters
nameThe name of the new WorkstationVM
ind_phys_workstationThe workstation hosting the VM
void WorkstationVMModel::adjustWeightOfDummyCpuActions ( )
inlinevirtual

[brief description]

[long description]

Reimplemented from WorkstationModel.


The documentation for this class was generated from the following files: