[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r5001 - gnuradio/branches/developers/eb/ibu/pmt/src/li
From: |
eb |
Subject: |
[Commit-gnuradio] r5001 - gnuradio/branches/developers/eb/ibu/pmt/src/lib |
Date: |
Sat, 14 Apr 2007 15:11:01 -0600 (MDT) |
Author: eb
Date: 2007-04-14 15:11:00 -0600 (Sat, 14 Apr 2007)
New Revision: 5001
Modified:
gnuradio/branches/developers/eb/ibu/pmt/src/lib/pmt.cc
gnuradio/branches/developers/eb/ibu/pmt/src/lib/pmt.h
Log:
debugging code
Modified: gnuradio/branches/developers/eb/ibu/pmt/src/lib/pmt.cc
===================================================================
--- gnuradio/branches/developers/eb/ibu/pmt/src/lib/pmt.cc 2007-04-14
07:23:43 UTC (rev 5000)
+++ gnuradio/branches/developers/eb/ibu/pmt/src/lib/pmt.cc 2007-04-14
21:11:00 UTC (rev 5001)
@@ -911,3 +911,20 @@
{
return pmt_eq(obj, PMT_EOF);
}
+
+void
+pmt_dump_sizeof()
+{
+ printf("sizeof(pmt_t) = %3ld\n", sizeof(pmt_t));
+ printf("sizeof(pmt_base) = %3ld\n", sizeof(pmt_base));
+ printf("sizeof(pmt_bool) = %3ld\n", sizeof(pmt_bool));
+ printf("sizeof(pmt_symbol) = %3ld\n", sizeof(pmt_symbol));
+ printf("sizeof(pmt_integer) = %3ld\n", sizeof(pmt_integer));
+ printf("sizeof(pmt_real) = %3ld\n", sizeof(pmt_real));
+ printf("sizeof(pmt_complex) = %3ld\n", sizeof(pmt_complex));
+ printf("sizeof(pmt_null) = %3ld\n", sizeof(pmt_null));
+ printf("sizeof(pmt_pair) = %3ld\n", sizeof(pmt_pair));
+ printf("sizeof(pmt_vector) = %3ld\n", sizeof(pmt_vector));
+ printf("sizeof(pmt_dict) = %3ld\n", sizeof(pmt_dict));
+ printf("sizeof(pmt_uniform_vector) = %3ld\n", sizeof(pmt_uniform_vector));
+}
Modified: gnuradio/branches/developers/eb/ibu/pmt/src/lib/pmt.h
===================================================================
--- gnuradio/branches/developers/eb/ibu/pmt/src/lib/pmt.h 2007-04-14
07:23:43 UTC (rev 5000)
+++ gnuradio/branches/developers/eb/ibu/pmt/src/lib/pmt.h 2007-04-14
21:11:00 UTC (rev 5001)
@@ -632,4 +632,7 @@
*/
pmt_t pmt_deserialize(std::streambuf &source);
+
+void pmt_dump_sizeof(); // debugging
+
#endif /* INCLUDED_PMT_H */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r5001 - gnuradio/branches/developers/eb/ibu/pmt/src/lib,
eb <=