Skip to content

cdp_cpu_profile

Record a CPU profile for a specified duration. Returns the top hot functions sorted by hit count. Requires Profiler domain (check cdp_status domains.profiler).

NameTypeRequiredDefaultConstraintsDescription
durationMsnumberNo3000min: 500, max: 30000, integerProfile duration in ms (default 3000, max 30000)
cdp_cpu_profile()