Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[dram] Removed first-order dram power model

  • Loading branch information...
commit 7f0bd3a974cc30e75fa62ca85f51bec58f6e1dac 1 parent e314d4a
George Kurian authored
View
4 carbon_sim.cfg
@@ -240,10 +240,6 @@ controller_positions = ""
enabled = true
type = history_tree
-[power_model/dram]
-dynamic_energy = 6e-10 # In J per access
-static_power = 6e-2 # In W
-
# This describes the various models used for the different networks on the core
[network]
# Valid Networks :
View
23 common/tile/memory_subsystem/performance_models/dram_perf_model.cc
@@ -32,21 +32,6 @@ DramPerfModel::DramPerfModel(float dram_access_cost,
{
initializePerformanceCounters();
createQueueModels();
-
- // Power (should probably refactor this out)
- if(Config::getSingleton()->getEnablePowerModeling())
- {
- try
- {
- m_dynamic_energy = Sim()->getCfg()->getFloat("power_model/dram/dynamic_energy");
- m_total_static_power = Sim()->getCfg()->getFloat("power_model/dram/static_power");
- }
- catch(...)
- {
- LOG_PRINT_ERROR("Error Reading 'dram_power_model/' from the config file");
- }
- }
-
}
DramPerfModel::~DramPerfModel()
@@ -145,14 +130,6 @@ DramPerfModel::outputSummary(ostream& out)
(float) (m_total_queueing_delay / m_num_accesses) << endl;
- if(Config::getSingleton()->getEnablePowerModeling())
- {
- out << " total dynamic energy: " <<
- (float) (m_dynamic_energy * m_num_accesses) << endl;
- out << " total static power: " <<
- (float) (m_total_static_power) << endl;
- }
-
std::string queue_model_type = Sim()->getCfg()->getString("dram/queue_model/type");
if (m_queue_model && ((queue_model_type == "history_list") || (queue_model_type == "history_tree")))
{
View
4 common/tile/memory_subsystem/performance_models/dram_perf_model.h
@@ -37,10 +37,6 @@ class DramPerfModel
volatile double m_total_access_latency;
volatile double m_total_queueing_delay;
- // Power
- volatile double m_total_static_power;
- volatile double m_dynamic_energy;
-
void createQueueModels();
void destroyQueueModels();
void initializePerformanceCounters();
Please sign in to comment.
Something went wrong with that request. Please try again.