|
GreenCloud Simulator
|
#include <nic.h>


Public Member Functions | |
| NIC () | |
| virtual | ~NIC () |
| void | setRp (ResourceProvider *rp) |
| virtual double | getUtilization () |
Public Member Functions inherited from DcResource | |
| DcResource () | |
| virtual | ~DcResource () |
| virtual int | command (int argc, const char *const *argv) |
| virtual int | setSpecification (ResourceSpec *resspec) |
| virtual double | getPower () |
| virtual double | getMaxPower () |
| virtual void | print () |
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 () |
Private Attributes | |
| ResourceProvider * | rp_ |
Additional Inherited Members | |
Static Public Member Functions inherited from Resource | |
| static res_type | translateType (const char *t) |
Public Attributes inherited from DcResource | |
| ResourceSpec * | specification |
Public Attributes inherited from Resource | |
| std::vector< Capacity > | capacity |
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 |
|
virtual |
Reimplemented from DcResource.
Definition at line 32 of file nic.cc.
| void NIC::setRp | ( | ResourceProvider * | rp | ) |
|
private |
1.8.11