Stefan Sauer
|
1bfd04a5fe
|
tracers/stats: log optional fields instead of GST_CLOCK_TIME_NONE
Simplify the traces and avoid trace analyzer to know that ((1<<64) - 1) means
we had no value.
|
2016-12-16 15:55:21 +01:00 |
|
Stefan Sauer
|
f69382c5f9
|
tracer/gststats: fix mismatch between '.class' and tracer args
Clean up from the recent changes. The logging descriptiors did not match what we logged.
|
2016-01-20 09:14:12 +01:00 |
|
Tim-Philipp Müller
|
8641d7c911
|
tracers: fix thread-id casts to 64-bit ints on 32-bit systems
https://bugzilla.gnome.org/show_bug.cgi?id=760762
|
2016-01-18 11:28:28 +00:00 |
|
Stefan Sauer
|
765cf11ff8
|
gst-stats: update to latest tarcer api
The thread-ids are serialized as uint64. The 'elem-ix' got changed to
'element-ix'. Make the code a bit more robust.
|
2016-01-16 21:02:39 +01:00 |
|
Luis de Bethencourt
|
587b95a857
|
stats: always free log
We always want to free the open file log if fopen() succeeded. Independently
of if fgets() succeeds or fails.
CID 1326055
https://bugzilla.gnome.org/show_bug.cgi?id=756864
|
2015-10-21 11:19:14 +01:00 |
|
Stefan Sauer
|
e5eb05741b
|
stats: TIMESTAMP -> PTS
|
2015-10-05 20:59:39 +02:00 |
|
Stefan Sauer
|
d9901e7019
|
stats: fix cpu stats printing
Only print them if we have them. Also scale them by 10.0 as the are in
per-mille now.
|
2015-10-05 20:59:39 +02:00 |
|
Stefan Sauer
|
f09dd66cf6
|
stats: don't warn on ".class" log lines
|
2015-10-05 20:59:39 +02:00 |
|
Stefan Sauer
|
dbb1897e9b
|
rusage: implement windowing of cpuload
Add a local help to the rusage plugin that supports windowing of values. We want
to generalize this for use in other plugins.
|
2015-10-05 20:59:39 +02:00 |
|
Stefan Sauer
|
018858980b
|
rusage: announce the data format
Rusage will now announce what is meassures and how it is logged. Use the new format in stats.
Cleanup the the code and naming.
|
2015-10-05 20:59:39 +02:00 |
|
Stefan Sauer
|
c13ee1f2e9
|
stats: improve cpu load meassurements
Rename variables for clarity. Handle the initial disparity between debug time
and the time already spent in the proc and main thread.
|
2015-10-05 20:59:39 +02:00 |
|
Stefan Sauer
|
b90ee2a84c
|
gst-stats: use the rusage stats
Add cpuload info from rusage traces.
|
2015-10-05 20:59:39 +02:00 |
|
Stefan Sauer
|
ff7ba1eb8d
|
gst-stats: filter complete thread section if we have no pads
|
2015-10-05 20:59:39 +02:00 |
|
Stefan Sauer
|
0c26387e62
|
stats: improve the handling of parentage
Log new object after we did the check for parents.
|
2015-10-05 20:59:39 +02:00 |
|
Stefan Sauer
|
81e617fa70
|
stats: print thread key for stats and filter empty pad-sections
|
2015-10-05 20:59:39 +02:00 |
|
Stefan Sauer
|
f8390caf2c
|
stats: update buffer flags
Remove some buffer flags that were leftovers from 0.10 and handle new 1.0 buffer
flags.
|
2015-10-05 20:59:39 +02:00 |
|
Stefan Sauer
|
b8eef6ba2c
|
stats: add a stats frontend
Parse the log and collect data from tracer messages.
|
2015-10-05 20:59:39 +02:00 |
|