From 90bfbd9793e64b29d09f4ca4ee610ee08f82ea75 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Fri, 6 Sep 2013 16:21:35 -0500 Subject: ruby: network: convert to gem5 style stats --- src/mem/ruby/network/garnet/fixed-pipeline/Router_d.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mem/ruby/network/garnet/fixed-pipeline/Router_d.cc') diff --git a/src/mem/ruby/network/garnet/fixed-pipeline/Router_d.cc b/src/mem/ruby/network/garnet/fixed-pipeline/Router_d.cc index fd4ce5389..3370c356c 100644 --- a/src/mem/ruby/network/garnet/fixed-pipeline/Router_d.cc +++ b/src/mem/ruby/network/garnet/fixed-pipeline/Router_d.cc @@ -186,7 +186,7 @@ Router_d::printFaultVector(ostream& out) for (int fault_type_index = 0; fault_type_index < num_fault_types; fault_type_index++){ out << " - probability of ("; - out << + out << m_network_ptr->fault_model->fault_type_to_string(fault_type_index); out << ") = "; out << fault_vector[fault_type_index] << endl; @@ -198,7 +198,7 @@ Router_d::printAggregateFaultProbability(std::ostream& out) { int temperature_celcius = BASELINE_TEMPERATURE_CELCIUS; float aggregate_fault_prob; - get_aggregate_fault_probability(temperature_celcius, + get_aggregate_fault_probability(temperature_celcius, &aggregate_fault_prob); out << "Router-" << m_id << " fault probability: "; out << aggregate_fault_prob << endl; -- cgit v1.2.3