docs/design: update tracerspec examples

This commit is contained in:
Stefan Sauer 2016-01-16 13:28:32 +01:00
parent 1c8cfa42ea
commit 2d5ba30606

View file

@ -147,8 +147,8 @@ gst_structure_new ("thread-rusage.class",
// 'thread-id' is a 'key' to related the record to something as indicated
// by 'scope' substructure
"thread-id", GST_TYPE_STRUCTURE, gst_structure_new ("scope",
// enum { process, thread, element, pad, context?, ... }
"related-to", G_TYPE_STRING, "thread",
"type", G_TYPE_GTYPE, G_TYPE_GUINT64,
"related-to", GST_TYPE_TRACER_VALUE_SCOPE, GST_TRACER_VALUE_SCOPE_THREAD,
NULL),
// next value in the record
// 'average-cpuload' is a measurement as indicated by the 'value'
@ -325,7 +325,7 @@ Problems / Open items
determine the current topology and emit events with GST_CLOCK_TIME_NONE as ts
to indicate that the events are synthetic.
- we need stable ids for scopes (elements, pads)
- we need stable ids for scopes (threads, elements, pads)
- the address can be reused
- we can use gst_util_seqnum_next()
- something like gst_object_get_path_string() won't work as objects are