|
VLC 4.0.0-dev
|
Macros | |
| #define | vlc_tracer_TraceWithTs(tracer, ts, ...) |
| #define | vlc_tracer_Trace(tracer, ...) |
| #define | VLC_TRACE_END vlc_tracer_entry_FromString(NULL, NULL) |
| #define | VLC_TRACE(key, value) |
| #define | VLC_TRACE_TICK_NS(key, tick) |
Functions | |
| struct vlc_tracer * | vlc_tracer_Create (vlc_object_t *parent, const char *name) |
| Create a tracer object. | |
| void | vlc_tracer_Destroy (struct vlc_tracer *tracer) |
| Destroy a tracer object. | |
| void | vlc_tracer_TraceWithTs (struct vlc_tracer *tracer, vlc_tick_t ts, const struct vlc_tracer_trace *trace) |
| Emit traces. | |
| static struct vlc_tracer_entry | vlc_tracer_entry_FromInt (const char *key, int64_t value) |
| static struct vlc_tracer_entry | vlc_tracer_entry_FromUnsigned (const char *key, uint64_t value) |
| static struct vlc_tracer_entry | vlc_tracer_entry_FromDouble (const char *key, double value) |
| static struct vlc_tracer_entry | vlc_tracer_entry_FromString (const char *key, const char *value) |
| #define VLC_TRACE | ( | key, | |
| value ) |
Referenced by EsOutVaControlLocked(), EsOutVaPrivControlLocked(), RenderPicture(), stream_HandleDrift(), TraceRender(), vlc_clock_master_update_coeff(), vlc_input_decoder_DecodeWithStatus(), vlc_tracer_TraceEvent(), vlc_tracer_TracePCR(), vlc_tracer_TraceStreamDTS(), and vlc_tracer_TraceStreamPTS().
| #define VLC_TRACE_END vlc_tracer_entry_FromString(NULL, NULL) |
Referenced by EsOutVaControlLocked(), EsOutVaPrivControlLocked(), RenderPicture(), stream_HandleDrift(), TraceRender(), vlc_clock_master_update_coeff(), vlc_input_decoder_DecodeWithStatus(), vlc_tracer_TraceEvent(), vlc_tracer_TracePCR(), vlc_tracer_TraceStreamDTS(), and vlc_tracer_TraceStreamPTS().
| #define VLC_TRACE_TICK_NS | ( | key, | |
| tick ) |
Referenced by EsOutVaControlLocked(), EsOutVaPrivControlLocked(), RenderPicture(), stream_HandleDrift(), TraceRender(), vlc_clock_master_update_coeff(), vlc_tracer_TracePCR(), vlc_tracer_TraceStreamDTS(), and vlc_tracer_TraceStreamPTS().
| #define vlc_tracer_Trace | ( | tracer, | |
| ... ) |
Referenced by EsOutVaControlLocked(), EsOutVaPrivControlLocked(), stream_HandleDrift(), TraceRender(), vlc_clock_master_update_coeff(), vlc_input_decoder_DecodeWithStatus(), vlc_tracer_TraceEvent(), vlc_tracer_TracePCR(), vlc_tracer_TraceStreamDTS(), and vlc_tracer_TraceStreamPTS().
| #define vlc_tracer_TraceWithTs | ( | tracer, | |
| ts, | |||
| ... ) |
Referenced by RenderPicture(), and TraceRender().
| struct vlc_tracer * vlc_tracer_Create | ( | vlc_object_t * | parent, |
| const char * | name ) |
Create a tracer object.
| parent | parent object used to create the tracer |
| name | module to load or NULL for the default one |
References unlikely, vlc_module_load(), VLC_OBJECT, vlc_object_delete, vlc_object_logger, and vlc_tracer_load().
Referenced by libvlc_InternalInit().
| void vlc_tracer_Destroy | ( | struct vlc_tracer * | tracer | ) |
Destroy a tracer object.
References container_of, vlc_tracer_operations::destroy, vlc_tracer::ops, vlc_tracer_module::tracer, VLC_OBJECT, and vlc_object_delete.
Referenced by libvlc_InternalCleanup().
|
inlinestatic |
References vlc_tracer_entry::key, vlc_tracer_entry::value, VLC_TRACER_DOUBLE, and vlc_tracer_entry_FromDouble().
Referenced by vlc_tracer_entry_FromDouble().
|
inlinestatic |
References vlc_tracer_value_t::integer, vlc_tracer_entry::key, vlc_tracer_entry::value, vlc_tracer_entry_FromInt(), and VLC_TRACER_INT.
Referenced by vlc_tracer_entry_FromInt().
|
inlinestatic |
References vlc_tracer_entry::key, vlc_tracer_value_t::string, vlc_tracer_entry::value, vlc_tracer_entry_FromString(), and VLC_TRACER_STRING.
Referenced by vlc_tracer_entry_FromString().
|
inlinestatic |
References vlc_tracer_entry::key, vlc_tracer_value_t::uinteger, vlc_tracer_entry::value, vlc_tracer_entry_FromUnsigned(), and VLC_TRACER_UINT.
Referenced by vlc_tracer_entry_FromUnsigned().
| void vlc_tracer_TraceWithTs | ( | struct vlc_tracer * | tracer, |
| vlc_tick_t | ts, | ||
| const struct vlc_tracer_trace * | trace ) |
Emit traces.
| tracer | tracer emitting the traces |
| ts | timestamp of the current trace |
| trace | the trace to register with its list of key / value parameters. Key must be a not NULL string. Value has to be defined with one of the type defined in the vlc_tracer_entry union. |
References container_of, vlc_tracer_module::opaque, vlc_tracer::ops, vlc_tracer_operations::trace, and vlc_tracer_module::tracer.