wrench::VirtualizedClusterService Class Reference

A virtualized cluster-based compute service. More...

#include <VirtualizedClusterService.h>

Inheritance diagram for wrench::VirtualizedClusterService:
wrench::CloudService wrench::ComputeService wrench::Service

Public Member Functions

 VirtualizedClusterService (const std::string &hostname, std::vector< std::string > &execution_hosts, double scratch_space_size, std::map< std::string, std::string > property_list={}, std::map< std::string, std::string > messagepayload_list={})
 Constructor. More...
 
- Public Member Functions inherited from wrench::CloudService
 CloudService (const std::string &hostname, std::vector< std::string > &execution_hosts, double scratch_space_size, std::map< std::string, std::string > property_list={}, std::map< std::string, std::string > messagepayload_list={})
 Constructor. More...
 

Additional Inherited Members

- Static Public Attributes inherited from wrench::ComputeService
static constexpr unsigned long ALL_CORES = ULONG_MAX
 A convenient constant to mean "use all cores of a physical host" whenever a number of cores is needed when instantiating compute services.
 
static constexpr double ALL_RAM = DBL_MAX
 A convenient constant to mean "use all ram of a physical host" whenever a ram capacity is needed when instantiating compute services.
 
- Protected Attributes inherited from wrench::CloudService
std::map< std::string, double > cs_available_ram
 Map of available RAM at hosts.
 
std::vector< std::string > execution_hosts
 List of execution host names.
 
std::map< std::string,
unsigned long > 
used_cores_per_execution_host
 A map of the number of used cores (per VM) per execution host.
 
std::map< std::string,
std::tuple< std::shared_ptr
< S4U_VirtualMachine >
, std::shared_ptr
< ComputeService >, unsigned
long, unsigned long > > 
vm_list
 A map of VMs described by the VM actor, the actual compute service, the total number of cores, and RAM size.
 

Detailed Description

A virtualized cluster-based compute service.

Constructor & Destructor Documentation

wrench::VirtualizedClusterService::VirtualizedClusterService ( const std::string &  hostname,
std::vector< std::string > &  execution_hosts,
double  scratch_space_size,
std::map< std::string, std::string >  property_list = {},
std::map< std::string, std::string >  messagepayload_list = {} 
)

Constructor.

Parameters
hostnamethe name of the hostcreate on which to start the service
execution_hoststhe hosts available for running virtual machines
scratch_space_sizethe size for the scratch space of the cloud service
property_lista property list ({} means "use all defaults")
messagepayload_lista message payload list ({} means "use all defaults")
Exceptions
std::runtime_error

The documentation for this class was generated from the following files:
  • /home/wrench/wrench/include/wrench/services/compute/virtualized_cluster/VirtualizedClusterService.h
  • /home/wrench/wrench/src/wrench/services/compute/virtualized_cluster/VirtualizedClusterService.cpp