Commit 99897dbf authored by Stefan Kost's avatar Stefan Kost

docs/random/ensonic/profiling.txt: More ideas.

Original commit message from CVS:
* 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.
parent 00d5a680
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:
......
......@@ -3,7 +3,7 @@ $Id$
= 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
......@@ -104,6 +104,9 @@ Sensors do meassurements and deliver timestampe performance data.
* when (gst_clock_get_time) ?
* we want it per thread
* queue fill levels
* number of
* threads
* open files
== Wanted Sensors ==
* dropped buffers
......@@ -127,6 +130,7 @@ timestamp [qos-ratio] [cpu-load={sum,17284,17285}]
== 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
......
......@@ -735,11 +735,20 @@ find_message (GstBin * bin, GstObject * src, GstMessageType types)
(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;
......
......@@ -18,6 +18,13 @@
* 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"
......@@ -453,7 +460,8 @@ _gst_debug_bin_to_dot_file (GstBin * bin, GstDebugGraphDetails details,
" 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"
......
......@@ -91,7 +91,7 @@ void _gst_debug_bin_to_dot_file_with_ts (GstBin *bin, GstDebugGraphDetails detai
#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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment