diff options
Diffstat (limited to 'src/mem/ruby/network/garnet/fixed-pipeline')
-rw-r--r-- | src/mem/ruby/network/garnet/fixed-pipeline/NetworkLink_d.hh | 4 | ||||
-rw-r--r-- | src/mem/ruby/network/garnet/fixed-pipeline/Router_d.hh | 7 |
2 files changed, 4 insertions, 7 deletions
diff --git a/src/mem/ruby/network/garnet/fixed-pipeline/NetworkLink_d.hh b/src/mem/ruby/network/garnet/fixed-pipeline/NetworkLink_d.hh index 6ee1dcdfb..b5c58baa2 100644 --- a/src/mem/ruby/network/garnet/fixed-pipeline/NetworkLink_d.hh +++ b/src/mem/ruby/network/garnet/fixed-pipeline/NetworkLink_d.hh @@ -53,8 +53,8 @@ public: int get_id(){return m_id;} void wakeup(); - double calculate_offline_power(power_bus*) { return 0.0; } - double calculate_power() { return 0.0; } + double calculate_offline_power(power_bus*); + double calculate_power(); inline bool isReady() { diff --git a/src/mem/ruby/network/garnet/fixed-pipeline/Router_d.hh b/src/mem/ruby/network/garnet/fixed-pipeline/Router_d.hh index 505353089..498a6cae1 100644 --- a/src/mem/ruby/network/garnet/fixed-pipeline/Router_d.hh +++ b/src/mem/ruby/network/garnet/fixed-pipeline/Router_d.hh @@ -74,11 +74,8 @@ public: void swarb_req(); void power_router_initialize(power_router *router, power_router_info *info); - double calculate_power() { return 0.0; } - double calculate_offline_power(power_router*, power_router_info*) - { - return 0.0; - } + double calculate_power(); + double calculate_offline_power(power_router*, power_router_info*); void calculate_performance_numbers(); private: |