Browse Source

Revert "add prints"

This reverts commit e098a2aff2b17f2068fcd8156fcab9c3492098e1.
Jens Keim 5 years ago
parent
commit
1d22e68ca3
1 changed files with 0 additions and 4 deletions
  1. 0 4
      code_boost/src/cxx/statistics.cpp

+ 0 - 4
code_boost/src/cxx/statistics.cpp

@@ -47,7 +47,6 @@ void statistics::checkTCPChecksum(const std::string &ipAddressSender, const std:
  */
 std::vector<float> statistics::calculateLastIntervalIPsEntropy(std::chrono::microseconds intervalStartTimestamp){
     if(this->getDoExtraTests()) {
-        std::cout << "interval start timestamp: " << intervalStartTimestamp.count() << std::endl;
         // TODO: change datastructures
         std::vector<int> IPsSrcPktsCounts;
         std::vector<int> IPsDstPktsCounts;
@@ -80,9 +79,6 @@ std::vector<float> statistics::calculateLastIntervalIPsEntropy(std::chrono::micr
             }
         }
 
-        std::cout << "ip src count: " << IPsSrcPktsCounts.size() << std::endl;
-        std::cout << "pkts sent total: " << pktsSent << std::endl;
-
         for (auto i = IPsSrcPktsCounts.begin(); i != IPsSrcPktsCounts.end(); i++) {
             IPsSrcProb.push_back(static_cast<double>(*i) / static_cast<double>(pktsSent));
         }