Enum in ldk_profiler.h

LDKProfilerZoneKind

typedef enum LDKProfilerZoneKind{
  LDK_PROFILER_ZONE_USER=0,
  LDK_PROFILER_ZONE_FRAME,
  LDK_PROFILER_ZONE_PHASE,
  LDK_PROFILER_ZONE_BUCKET,
  LDK_PROFILER_ZONE_SYSTEM
}LDKProfilerZoneKind;
Function in ldk_profiler.h

ldk_profiler_zone_begin_source

Begin a profiling zone tagged with a source location.

LDK_API void ldk_profiler_zone_begin_source(
 LDKProfilerSource *source,
 LDKProfilerZoneKind kind,
 const char *name,
 const char *file,
 const char *function,
 u32 line
);

Parameters

LDKProfilerSource *source
Source object or source data for this operation.
LDKProfilerZoneKind kind
Kind used by this operation.
const char *name
Name identifying the object or setting.
const char *file
File used by this operation.
const char *function
Function to run as a scheduled job.
u32 line
Line used by this operation.
Function in ldk_profiler.h

ldk_profiler_zone_end

Finish the profiler zone.

LDK_API void ldk_profiler_zone_end(void);