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, int coreAmount) |
| |
| | 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 () |
| |
| e_surf_vm_state_t | getState () |
| |
| | 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 | actorList (std::vector< ActorPtr > *whereto) |
| | Return the list of actors attached to an host. More...
|
| |
| 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 peak processor speed (in flops/s), at the current pstate. 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) |
| |
| void | processes (std::vector< ActorPtr > *list) |
| | Get the processes attached to the host. More...
|
| |
| double | getPstateSpeed (int pstate_index) |
| | Get the peak processor speed (in flops/s), at the specified 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...
|
| |
| void | attachedStorages (std::vector< const char *> *storages) |
| | Returns the list of storages attached to an host. More...
|
| |
| std::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...
|
| |
| void | routeTo (Host *dest, std::vector< surf::LinkImpl *> *links, double *latency) |
| | Just like Host::routeTo, but filling an array of link implementations. 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) |
| |