A VM is a virtual machine that contains actors.
The total computing power that the contained processes can get is constrained to the virtual machine size.
|
| VirtualMachine (const char *name, s4u::Host *hostPm) |
|
| VirtualMachine (VirtualMachine const &)=delete |
|
VirtualMachine & | operator= (VirtualMachine const &)=delete |
|
bool | isMigrating () |
|
void | parameters (vm_params_t params) |
|
void | setParameters (vm_params_t params) |
|
double | getRamsize () |
|
simgrid::s4u::Host * | pm () |
|
| Host (const char *name) |
|
void | destroy () |
| Fire the required callbacks and destroy the object. More...
|
|
| Host (Host const &)=delete |
|
Host & | operator= (Host const &)=delete |
|
simgrid::xbt::string const & | name () const |
|
const char * | cname () |
|
void | turnOn () |
| Turns that host on if it was previously off. More...
|
|
void | turnOff () |
| Turns that host off. More...
|
|
bool | isOn () |
| Returns if that host is currently up and running. More...
|
|
bool | isOff () |
| Returns if that host is currently down and offline. More...
|
|
double | speed () |
| Get the speed of the cpu associated to a host. More...
|
|
int | coreCount () |
| Returns the number of core of the processor. More...
|
|
xbt_dict_t | properties () |
| Get the properties assigned to a host. More...
|
|
const char * | property (const char *key) |
| Retrieve the property value (or nullptr if not set) More...
|
|
void | setProperty (const char *key, const char *value) |
|
xbt_swag_t | processes () |
| Get the processes attached to the host. More...
|
|
double | getPstateSpeedCurrent () |
| Get the peak power of a host. More...
|
|
double | getPstateSpeed (int pstate_index) |
| Get one power peak (in flops/s) of a host at a given pstate. More...
|
|
int | pstatesCount () const |
|
void | setPstate (int pstate_index) |
| Set the pstate at which the host should run. More...
|
|
int | pstate () |
| Retrieve the pstate at which the host is currently running. More...
|
|
xbt_dict_t | mountedStoragesAsDict () |
| Returns the list of storages mounted on an host. More...
|
|
xbt_dynar_t | attachedStorages () |
| Returns the list of storages attached to an host. More...
|
|
boost::unordered_map< std::string, Storage * > const & | mountedStorages () |
| Get an associative list [mount point]->[Storage] of all local mount points. More...
|
|
void | routeTo (Host *dest, std::vector< Link *> *links, double *latency) |
| Find a route toward another host. More...
|
|
| Extendable () |
|
| ~Extendable () |
|
void * | extension (std::size_t rank) |
|
U * | extension (Extension< Host, U > rank) |
|
U * | extension () |
|
void | extension_set (std::size_t rank, void *value, bool use_dtor=true) |
|
void | extension_set (Extension< Host, U > rank, U *value, bool use_dtor=true) |
|
void | extension_set (U *p) |
|