summaryrefslogtreecommitdiff
path: root/src/gpuwattch/iocontrollers.h
diff options
context:
space:
mode:
authorMahmoud <[email protected]>2019-09-16 10:47:08 -0400
committerMahmoud <[email protected]>2019-09-16 10:47:08 -0400
commit0785ce7c9471bf1a0c70500eb60cb293fb5aa2fa (patch)
tree15dcaeaf1b1e0e9e3c04af74e72545854793d244 /src/gpuwattch/iocontrollers.h
parent688044e9f7a9aef0a63a9610b496baafd886c556 (diff)
parentdba877b45fe11187d56904bbd169f4e0a5ad0586 (diff)
Merge branch 'dev' of https://github.com/purdue-aalp/gpgpu-sim_distribution into dev-private
Diffstat (limited to 'src/gpuwattch/iocontrollers.h')
-rw-r--r--src/gpuwattch/iocontrollers.h68
1 files changed, 33 insertions, 35 deletions
diff --git a/src/gpuwattch/iocontrollers.h b/src/gpuwattch/iocontrollers.h
index 68ddbcb..9d6c48a 100644
--- a/src/gpuwattch/iocontrollers.h
+++ b/src/gpuwattch/iocontrollers.h
@@ -31,7 +31,6 @@
#ifndef IOCONTROLLERS_H_
#define IOCONTROLLERS_H_
-
#endif /* IOCONTROLLERS_H_ */
#include "XML_Parse.h"
@@ -43,44 +42,43 @@
#include "basic_components.h"
class NIUController : public Component {
- public:
- ParseXML *XML;
- InputParameter interface_ip;
- NIUParam niup;
- powerDef power_t;
- uca_org_t local_result;
- NIUController(ParseXML *XML_interface,InputParameter* interface_ip_);
- void set_niu_param();
- void computeEnergy(bool is_tdp=true);
- void displayEnergy(uint32_t indent = 0,int plevel = 100, bool is_tdp=true);
- ~NIUController(){};
+ public:
+ ParseXML *XML;
+ InputParameter interface_ip;
+ NIUParam niup;
+ powerDef power_t;
+ uca_org_t local_result;
+ NIUController(ParseXML *XML_interface, InputParameter *interface_ip_);
+ void set_niu_param();
+ void computeEnergy(bool is_tdp = true);
+ void displayEnergy(uint32_t indent = 0, int plevel = 100, bool is_tdp = true);
+ ~NIUController(){};
};
class PCIeController : public Component {
- public:
- ParseXML *XML;
- InputParameter interface_ip;
- PCIeParam pciep;
- powerDef power_t;
- uca_org_t local_result;
- PCIeController(ParseXML *XML_interface,InputParameter* interface_ip_);
- void set_pcie_param();
- void computeEnergy(bool is_tdp=true);
- void displayEnergy(uint32_t indent = 0,int plevel = 100, bool is_tdp=true);
- ~PCIeController(){};
+ public:
+ ParseXML *XML;
+ InputParameter interface_ip;
+ PCIeParam pciep;
+ powerDef power_t;
+ uca_org_t local_result;
+ PCIeController(ParseXML *XML_interface, InputParameter *interface_ip_);
+ void set_pcie_param();
+ void computeEnergy(bool is_tdp = true);
+ void displayEnergy(uint32_t indent = 0, int plevel = 100, bool is_tdp = true);
+ ~PCIeController(){};
};
class FlashController : public Component {
- public:
- ParseXML *XML;
- InputParameter interface_ip;
- MCParam fcp;
- powerDef power_t;
- uca_org_t local_result;
- FlashController(ParseXML *XML_interface,InputParameter* interface_ip_);
- void set_fc_param();
- void computeEnergy(bool is_tdp=true);
- void displayEnergy(uint32_t indent = 0,int plevel = 100, bool is_tdp=true);
- ~FlashController(){};
+ public:
+ ParseXML *XML;
+ InputParameter interface_ip;
+ MCParam fcp;
+ powerDef power_t;
+ uca_org_t local_result;
+ FlashController(ParseXML *XML_interface, InputParameter *interface_ip_);
+ void set_fc_param();
+ void computeEnergy(bool is_tdp = true);
+ void displayEnergy(uint32_t indent = 0, int plevel = 100, bool is_tdp = true);
+ ~FlashController(){};
};
-