# stats

A tracing module that builds usage statistic for elements and pads.

The statistics are emitted as structured tracer events. Enable the `log` tracer alongside it so they are written to the `GST_TRACER` debug category, then post-process the log with `gst-stats-1.0`:

    GST_TRACERS="stats;log" GST_DEBUG=GST_TRACER:7 GST_DEBUG_FILE=trace.log ./...
    gst-stats-1.0 trace.log

## GstStatsTracer

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstTracer
                    ╰──GstStatsTracer

Since : 1.8

The results of the search are