Removed debug output.
authorSascha Jopen <jopen@cs.uni-bonn.de>
Thu, 27 Mar 2014 17:25:12 +0100
changeset 10729 585982c4b380
parent 10728 62d4098c1c22
child 10730 3db83bcc026d
Removed debug output.
src/lr-wpan/model/lr-wpan-phy.cc
--- a/src/lr-wpan/model/lr-wpan-phy.cc	Thu Mar 27 16:56:15 2014 +0100
+++ b/src/lr-wpan/model/lr-wpan-phy.cc	Thu Mar 27 17:25:12 2014 +0100
@@ -335,17 +335,11 @@
           // How many bits did we receive since the last calculation?
           double t = (Simulator::Now () - m_rxLastUpdate).ToDouble (Time::MS);
           uint32_t chunkSize = ceil (t * (GetDataOrSymbolRate (true) / 1000));
-          std::cout << "current signal : " << 10 * log10 (LrWpanSpectrumValueHelper::TotalAvgPower (currentRxParams->psd)) << std::endl;
-          std::cout << "all signals : " << 10 * log10 (LrWpanSpectrumValueHelper::TotalAvgPower (m_signal->GetSignalPsd ())) << std::endl;
-          std::cout << "noise : " << 10 * log10 (LrWpanSpectrumValueHelper::TotalAvgPower (m_noise)) << std::endl;
           Ptr<SpectrumValue> interferenceAndNoise = m_signal->GetSignalPsd ();
           *interferenceAndNoise -= *currentRxParams->psd;
           *interferenceAndNoise += *m_noise;
-          std::cout << "interference and noise : " << 10 * log10 (LrWpanSpectrumValueHelper::TotalAvgPower (interferenceAndNoise)) << std::endl;
           double sinr = LrWpanSpectrumValueHelper::TotalAvgPower (currentRxParams->psd) / LrWpanSpectrumValueHelper::TotalAvgPower (interferenceAndNoise);
-          std::cout << "sinr : " << sinr << std::endl;
           double per = 1.0 - m_errorModel->GetChunkSuccessRate (sinr, chunkSize);
-          std::cout << "per : " << per << std::endl;
 
           // TODO: What is the LQI for our model. The SINR is wrong in any case!
           LrWpanLqiTag tag(sinr);