Commit b40af664 authored by Carla Guillen's avatar Carla Guillen
Browse files

Removing compiler error

parent f227c0f2
......@@ -268,8 +268,8 @@ void SMUCNGPerfOperator::computeLOADS_TOL3MISS_RATIO(std::vector<SMUCNGPtr>& inp
}
void SMUCNGPerfOperator::computeBRANCH_PER_INSTRUCTIONS(std::vector<SMUCNGPtr>& inputs, SMUCNGPtr& outSensor, const uint64_t timestamp) {
std::vector<reading_t> & missedbranches;
std::vector<reading_t> & instructions;
std::vector<reading_t> & missedbranches = _buffers[0];
std::vector<reading_t> & instructions = _buffers[1];
query(inputs[_metricToPosition[SMUCSensorBase::PERF_COUNT_HW_BRANCH_MISSES]]->getName(), timestamp, missedbranches);
query(inputs[_metricToPosition[SMUCSensorBase::INSTRUCTIONS]]->getName(), timestamp, instructions);
reading_t branchPerInstructions;
......@@ -281,8 +281,8 @@ void SMUCNGPerfOperator::computeBRANCH_PER_INSTRUCTIONS(std::vector<SMUCNGPtr>&
void SMUCNGPerfOperator::computeMISSBRANCHES_TO_TOTAL_BRANCH_RATIO(std::vector<SMUCNGPtr>& inputs,
SMUCNGPtr& outSensor, const uint64_t timestamp) {
std::vector<reading_t> & missedbranches;
std::vector<reading_t> & totalbranches;
std::vector<reading_t> & missedbranches = _buffers[0];
std::vector<reading_t> & totalbranches = _buffers[1];
query(inputs[_metricToPosition[SMUCSensorBase::PERF_COUNT_HW_BRANCH_MISSES]]->getName(), timestamp, missedbranches);
query(inputs[_metricToPosition[SMUCSensorBase::PERF_COUNT_HW_BRANCH_INSTRUCTIONS]]->getName(), timestamp, totalbranches);
reading_t missbranchesPerTotal;
......@@ -294,5 +294,5 @@ void SMUCNGPerfOperator::computeMISSBRANCHES_TO_TOTAL_BRANCH_RATIO(std::vector<S
void SMUCNGPerfOperator::computeMEMORY_BANDWIDTH(std::vector<SMUCNGPtr>& inputs, SMUCNGPtr& outSensor,
const uint64_t timestamp) {
std::vector<reading_t> &mem_counters; //ToDo how do I get them?
std::vector<reading_t> mem_counters; //ToDo how do I get them?
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment