<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le jeu. 13 juin 2019 11 h 10, clubberlang <<a href="mailto:taoming29@gmail.com" rel="noreferrer noreferrer" target="_blank">taoming29@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> So best is if we get these tracer output hooks upstream, and then you can<br>
implement something on top, rather then inside of it. <br>
<br>
Is this what Michael suggested to hook a log handler? The reason I would<br>
like to emit those latency measurements is because I think writing to disks<br>
increases the CPU usage drastically. We want these measurements to be<br>
emitted as application metrics and in a cost-effective way -- not eat up too<br>
much CPU cycles for writing to file.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">What I'm proposing is to add hooks so that application can gain access to the GVariant containing the trace. Right now, we only support turning this to string and logging through gstlog facility. Making metrics out of the raw trace is left to application (like sysprof, gst-stats etc.)</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" rel="noreferrer noreferrer noreferrer" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div></div></div>