commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r11207 - in gnuradio/branches/developers/eb/vrt: gr-vr


From: eb
Subject: [Commit-gnuradio] r11207 - in gnuradio/branches/developers/eb/vrt: gr-vrt/src vrt/lib
Date: Tue, 16 Jun 2009 00:51:26 -0600 (MDT)

Author: eb
Date: 2009-06-16 00:51:25 -0600 (Tue, 16 Jun 2009)
New Revision: 11207

Modified:
   gnuradio/branches/developers/eb/vrt/gr-vrt/src/vrt_source_32fc.cc
   gnuradio/branches/developers/eb/vrt/vrt/lib/quadradio.cc
   gnuradio/branches/developers/eb/vrt/vrt/lib/socket_rx_buffer.cc
Log:
removed some possibly confusing debugging output

Modified: gnuradio/branches/developers/eb/vrt/gr-vrt/src/vrt_source_32fc.cc
===================================================================
--- gnuradio/branches/developers/eb/vrt/gr-vrt/src/vrt_source_32fc.cc   
2009-06-16 06:42:10 UTC (rev 11206)
+++ gnuradio/branches/developers/eb/vrt/gr-vrt/src/vrt_source_32fc.cc   
2009-06-16 06:51:25 UTC (rev 11207)
@@ -105,7 +105,7 @@
 vrt_source_32fc::~vrt_source_32fc()
 {
   if (VERBOSE){
-    std::cerr << "vrt_source_32fc: npackets = " << d_checker.npackets()
+    std::cerr << "\nvrt_source_32fc: npackets = " << d_checker.npackets()
              << " nwrong_pkt_cnt = " << d_checker.nwrong_pkt_cnt()
              << " nmissing_pkt_est = " << d_checker.nmissing_pkt_est()
              << std::endl;

Modified: gnuradio/branches/developers/eb/vrt/vrt/lib/quadradio.cc
===================================================================
--- gnuradio/branches/developers/eb/vrt/vrt/lib/quadradio.cc    2009-06-16 
06:42:10 UTC (rev 11206)
+++ gnuradio/branches/developers/eb/vrt/vrt/lib/quadradio.cc    2009-06-16 
06:51:25 UTC (rev 11207)
@@ -200,7 +200,7 @@
       perror("inet_ntop");
       return false;
     }
-    printf("our ip addr associated with ctrl port: %s\n", s);
+    // printf("our ip addr associated with ctrl port: %s\n", s);
   }
   
   //
@@ -237,7 +237,7 @@
     return false;
   }
 
-  printf("our data port = %d\n", data_port);
+  // printf("our data port = %d\n", data_port);
 
   *ctrl_fd_ptr = ctrl_fd;
   *data_fd_ptr = data_fd;

Modified: gnuradio/branches/developers/eb/vrt/vrt/lib/socket_rx_buffer.cc
===================================================================
--- gnuradio/branches/developers/eb/vrt/vrt/lib/socket_rx_buffer.cc     
2009-06-16 06:42:10 UTC (rev 11206)
+++ gnuradio/branches/developers/eb/vrt/vrt/lib/socket_rx_buffer.cc     
2009-06-16 06:51:25 UTC (rev 11207)
@@ -78,11 +78,11 @@
   {
     if (try_packet_ring()){
       d_using_tpring = true;
-      fprintf(stderr, "socket_rx_buffer: using memory mapped interface\n");
+      // fprintf(stderr, "socket_rx_buffer: using memory mapped interface\n");
     }
     else {
       d_using_tpring = false;
-      fprintf(stderr, "socket_rx_buffer: NOT using memory mapped interface\n");
+      // fprintf(stderr, "socket_rx_buffer: NOT using memory mapped 
interface\n");
 
       // Increase socket buffer if possible
 
@@ -141,7 +141,7 @@
 
     // Try to get kernel shared memory buffer
     if (setsockopt(d_fd, SOL_PACKET, PACKET_RX_RING, (void *)&req, 
sizeof(req)) != 0){
-      perror("socket_rx_buffer: setsockopt");
+      // perror("socket_rx_buffer: setsockopt");
       return false;
     }
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]