Revision 11c83c60 host/lib/usrp/usrp2/io_impl.cpp
| b/host/lib/usrp/usrp2/io_impl.cpp | ||
|---|---|---|
| 113 | 113 |
metadata.event_code = vrt_packet_handler::get_context_code<async_metadata_t::event_code_t>(vrt_hdr, if_packet_info); |
| 114 | 114 |
|
| 115 | 115 |
//print the famous U, and push the metadata into the message queue |
| 116 |
if (metadata.event_code & underflow_flags) std::cerr << "U"; |
|
| 116 |
if (metadata.event_code & underflow_flags) std::cerr << "U" << std::flush;
|
|
| 117 | 117 |
async_msg_fifo->push_with_pop_on_full(metadata); |
| 118 | 118 |
continue; |
| 119 | 119 |
} |
| ... | ... | |
| 121 | 121 |
//handle the packet count / sequence number |
| 122 | 122 |
if (if_packet_info.packet_count != next_packet_seq){
|
| 123 | 123 |
//std::cerr << "S" << (if_packet_info.packet_count - next_packet_seq)%16; |
| 124 |
std::cerr << "O"; //report overflow (drops in the kernel) |
|
| 124 |
std::cerr << "O" << std::flush; //report overflow (drops in the kernel)
|
|
| 125 | 125 |
} |
| 126 | 126 |
next_packet_seq = (if_packet_info.packet_count+1)%16; |
| 127 | 127 |
|
Also available in: Unified diff