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