|
GreenCloud Simulator
|
#include <resdemand.h>


Public Member Functions | |
| ResDemand (Resource &res) | |
| ResDemand (Resource &res, DcResource *svr) | |
Public Member Functions inherited from Resource | |
| Resource (res_type t, double a, std::vector< Capacity > cap) | |
| void | print () |
| virtual | ~Resource () |
| res_type | getType () |
| double | getArch () |
Public Attributes | |
| std::vector< Capacity * > | capacity_location |
| std::vector< double > | current_performance |
| DcResource * | supported_virtual_resource |
Public Attributes inherited from Resource | |
| std::vector< Capacity > | capacity |
Additional Inherited Members | |
Static Public Member Functions inherited from Resource | |
| static res_type | translateType (const char *t) |
Protected Member Functions inherited from Resource | |
| Resource () | |
| Resource & | operator= (const Resource &r) |
| int | setType (const char *t) |
| int | setCapacity (std::vector< Capacity > cap) |
| void | sortCapacity () |
Protected Attributes inherited from Resource | |
| res_type | type |
| double | arch |
Used to represent the status of execution. (Where, how fast, and how much left )
Definition at line 18 of file resdemand.h.
| ResDemand::ResDemand | ( | Resource & | res | ) |
Definition at line 11 of file resdemand.cc.
| ResDemand::ResDemand | ( | Resource & | res, |
| DcResource * | svr | ||
| ) |
Definition at line 18 of file resdemand.cc.
| std::vector<Capacity *> ResDemand::capacity_location |
Currently used capacities for "static" resources (other than CPU and Networking)
Definition at line 21 of file resdemand.h.
| std::vector<double> ResDemand::current_performance |
Current allocation (i.e. processing rate) rate for each of the resources
Definition at line 23 of file resdemand.h.
| DcResource* ResDemand::supported_virtual_resource |
Definition at line 28 of file resdemand.h.
1.8.11