diff options
author | Tom Rondeau | 2012-12-18 15:33:04 -0500 |
---|---|---|
committer | Tom Rondeau | 2012-12-18 15:33:04 -0500 |
commit | 620dd7ece3789220d0b46259a95752d8da7af730 (patch) | |
tree | 1fa044768bfae37e07736d83151646682c93c164 /gnuradio-core/src/lib | |
parent | 6d8161a0b0c88f2faf090a80c74eb03422278289 (diff) | |
parent | 2dcff4761ba1ef71d4798a4386e98a30163a83a2 (diff) | |
download | gnuradio-620dd7ece3789220d0b46259a95752d8da7af730.tar.gz gnuradio-620dd7ece3789220d0b46259a95752d8da7af730.tar.bz2 gnuradio-620dd7ece3789220d0b46259a95752d8da7af730.zip |
Merge branch 'tagdebug2' of git://github.com/mbant/gnuradio
Diffstat (limited to 'gnuradio-core/src/lib')
-rw-r--r-- | gnuradio-core/src/lib/general/gr_tag_debug.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-core/src/lib/general/gr_tag_debug.cc b/gnuradio-core/src/lib/general/gr_tag_debug.cc index 5833a1891..ecf1b65e1 100644 --- a/gnuradio-core/src/lib/general/gr_tag_debug.cc +++ b/gnuradio-core/src/lib/general/gr_tag_debug.cc @@ -81,10 +81,10 @@ gr_tag_debug::work(int noutput_items, get_tags_in_range(d_tags, i, abs_N, end_N); if(d_display) { - sout << "Input Stream: " << i << std::endl; + sout << "Input Stream: " << std::setw(2) << std::setfill('0') << i << std::setfill(' ') << std::endl; for(d_tags_itr = d_tags.begin(); d_tags_itr != d_tags.end(); d_tags_itr++) { sout << std::setw(10) << "Offset: " << d_tags_itr->offset - << std::setw(10) << "Source: " << pmt::pmt_symbol_to_string(d_tags_itr->srcid) + << std::setw(10) << "Source: " << (pmt::pmt_is_symbol(d_tags_itr->srcid) ? pmt::pmt_symbol_to_string(d_tags_itr->srcid) : "n/a") << std::setw(10) << "Key: " << pmt::pmt_symbol_to_string(d_tags_itr->key) << std::setw(10) << "Value: "; sout << d_tags_itr->value << std::endl; |