Skip to content

Reference

cdp_cpu_profile

Record a CPU profile for a specified duration. Returns the top hot functions sorted by hit count and reports when the Profiler domain is unavailable.

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