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;
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;
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
);
LDKProfilerSource *sourceLDKProfilerZoneKind kindconst char *nameconst char *fileconst char *functionu32 lineFinish the profiler zone.
LDK_API void ldk_profiler_zone_end(void);
Close an active profiling zone of the specified kind.
LDK_API void ldk_profiler_zone_end_kind(LDKProfilerZoneKind kind);
LDKProfilerZoneKind kind