memory-tracer

This tracer provides an easy way to track memory allocations over time in a pipeline.

Example:

Log GstMemory allocation releases into the tmp.memory.csv file

# Dropping allocation query so we can see both the GLMemory and the SystemMemory on the graph

$ GST_TRACERS="memory-tracer(file=tmp.memory.cvs)" gst-launch-1.0 videotestsrc num-buffers=30 ! identity drop-allocation=true ! glimagesink

lot memory usage per type

python3 utils/tracers/scripts/memory_usage.py tmp.memory.cvs

Result

GstMemoryTracer

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstTracer
                ╰──GstMemoryTracer

Action Signals

write-log

g_signal_emit_by_name (param_0, "write-log", arg0);
ret = param_0.emit ("write-log", arg0)
let ret = param_0.emit ("write-log", arg0);

Parameters:

param_0 (GstElement *)
No description available
arg0 (gchararray)
No description available

Flags: Run Last / Action


Properties

file

“file” gchararray

Path to the file to write memory usage information

Flags : Read / Write

Default value : NULL


The results of the search are