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).
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
durationMs | number | No | 3000 | min: 500, max: 30000, integer | Profile duration in ms (default 3000, max 30000) |
cdp_cpu_profile()