VLC 4.0.0-dev

Tracing back-end. More...

Collaboration diagram for Tracer:

Macros

#define VLC_TRACE_END    vlc_tracer_entry_FromString(NULL, NULL)
 
#define VLC_TRACE(key, value)
 
#define VLC_TRACE_TICK_NS(key, tick)   VLC_TRACE((key), NS_FROM_VLC_TICK((tick)))
 

Functions

static struct vlc_tracer_entry vlc_tracer_entry_FromInt (const char *key, int64_t value)
 
static struct vlc_tracer_entry vlc_tracer_entry_FromString (const char *key, const char *value)
 
static void vlc_tracer_TraceStreamPTS (struct vlc_tracer *tracer, const char *type, const char *id, const char *stream, vlc_tick_t pts)
 
static void vlc_tracer_TraceStreamDTS (struct vlc_tracer *tracer, const char *type, const char *id, const char *stream, vlc_tick_t pts, vlc_tick_t dts)
 
static void vlc_tracer_TraceRender (struct vlc_tracer *tracer, const char *type, const char *id, vlc_tick_t now, vlc_tick_t pts)
 
static void vlc_tracer_TraceEvent (struct vlc_tracer *tracer, const char *type, const char *id, const char *event)
 
static void vlc_tracer_TracePCR (struct vlc_tracer *tracer, const char *type, const char *id, vlc_tick_t pcr)
 

Detailed Description

Tracing back-end.

Macro Definition Documentation

◆ VLC_TRACE

#define VLC_TRACE (   key,
  value 
)
Value:
_Generic((value), \
const char *: vlc_tracer_entry_FromString) (key, value)
static struct vlc_tracer_entry vlc_tracer_entry_FromInt(const char *key, int64_t value)
Definition: vlc_tracer.h:108
static struct vlc_tracer_entry vlc_tracer_entry_FromString(const char *key, const char *value)
Definition: vlc_tracer.h:116

◆ VLC_TRACE_END

#define VLC_TRACE_END    vlc_tracer_entry_FromString(NULL, NULL)

◆ VLC_TRACE_TICK_NS

#define VLC_TRACE_TICK_NS (   key,
  tick 
)    VLC_TRACE((key), NS_FROM_VLC_TICK((tick)))

Function Documentation

◆ vlc_tracer_entry_FromInt()

static struct vlc_tracer_entry vlc_tracer_entry_FromInt ( const char *  key,
int64_t  value 
)
inlinestatic

◆ vlc_tracer_entry_FromString()

static struct vlc_tracer_entry vlc_tracer_entry_FromString ( const char *  key,
const char *  value 
)
inlinestatic

◆ vlc_tracer_TraceEvent()

static void vlc_tracer_TraceEvent ( struct vlc_tracer tracer,
const char *  type,
const char *  id,
const char *  event 
)
inlinestatic

◆ vlc_tracer_TracePCR()

static void vlc_tracer_TracePCR ( struct vlc_tracer tracer,
const char *  type,
const char *  id,
vlc_tick_t  pcr 
)
inlinestatic

◆ vlc_tracer_TraceRender()

static void vlc_tracer_TraceRender ( struct vlc_tracer tracer,
const char *  type,
const char *  id,
vlc_tick_t  now,
vlc_tick_t  pts 
)
inlinestatic

◆ vlc_tracer_TraceStreamDTS()

static void vlc_tracer_TraceStreamDTS ( struct vlc_tracer tracer,
const char *  type,
const char *  id,
const char *  stream,
vlc_tick_t  pts,
vlc_tick_t  dts 
)
inlinestatic

◆ vlc_tracer_TraceStreamPTS()

static void vlc_tracer_TraceStreamPTS ( struct vlc_tracer tracer,
const char *  type,
const char *  id,
const char *  stream,
vlc_tick_t  pts 
)
inlinestatic