2007-11-22 Stefan Kost <ensonic@users.sf.net>
+ * docs/random/ensonic/profiling.txt:
+ More ideas.
+
+ * gst/gstbin.c:
+ Fix typo and give better log output.
+
+ * gst/gstdebugutils.c:
+ * gst/gstdebugutils.h:
+ More ideas, make graphs a bit smaller and fix param name in macro.
+
+2007-11-22 Stefan Kost <ensonic@users.sf.net>
+
* gst/gstpreset.c:
Try harder to use the return value from fgets().
= profiling =
== what information is interesting? ==
-* pipeline through-output
+* pipeline throughput
if we know the cpu-load for a given datastream, we could extrapolate what the
system can handle
-> qos profiling
* when (gst_clock_get_time) ?
* we want it per thread
* queue fill levels
+* number of
+ * threads
+ * open files
== Wanted Sensors ==
* dropped buffers
== Running ==
LD_PRELOAD=libgstperfmon.so GST_PERFMON_DETAILS="qos-ratio,cpu-load=all" <application>
LD_PRELOAD=libgstperfmon.so GST_PERFMON_DETAILS="qos-ratio,cpu-load=sum" <application>
+LD_PRELOAD=libgstperfmon.so GST_PERFMON_DETAILS="*" <application>
== Exploration
pygtk ui, mathplotlib
(GCompareFunc) message_check);
if (result) {
- GST_DEBUG_OBJECT (bin, "we found a message %p from %s mathing types %08x",
+ GST_DEBUG_OBJECT (bin, "we found a message %p from %s matching types %08x",
result->data, GST_OBJECT_NAME (GST_MESSAGE_CAST (result->data)->src),
types);
} else {
GST_DEBUG_OBJECT (bin, "no message found matching types %08x", types);
+#ifndef GST_DISABLE_GST_DEBUG
+ {
+ guint i;
+
+ for (i = 0; i < 32; i++)
+ if (types & (1 << i))
+ GST_DEBUG_OBJECT (bin, " %s", gst_message_type_get_name (1 << i));
+ }
+#endif
}
return result;
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
+/* TODO:
+ * edge [ constraint=false ];
+ * edge [ minlen=0 ];
+ * does not create spacial dependency
+ * node [ margin="0.02,0.01" ];
+ * space surrounding the label
+ */
#include "gst_private.h"
#include "gstdebugutils.h"
" fontname=\"Bitstream Vera Sans\";\n"
" fontsize=\"8\";\n"
" labelloc=t;\n"
- " nodesep=.15;\n"
+ " nodesep=.1;\n"
+ " ranksep=.2;\n"
" label=\"<%s>\\n%s%s%s\";\n"
" node [style=filled, shape=box, fontsize=\"7\", fontname=\"Bitstream Vera Sans\"];\n"
" edge [labelfontsize=\"7\", fontsize=\"7\", labelfontname=\"Bitstream Vera Sans\", fontname=\"Bitstream Vera Sans\"];\n"
#define GST_DEBUG_BIN_TO_DOT_FILE(bin, details, file_name)
-#define GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS(bin, details, file_tmpl)
+#define GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS(bin, details, file_name)
#endif /* GST_DISABLE_GST_DEBUG */