Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ func ProbeCPUs(probeTime time.Duration, maxCPUUsage float64, abort chan struct{}) bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ProbeCPUs ¶ func ProbeCPUs(probeTime time.Duration, maxCPUUsage float64, abort chan struct{}) bool ProbeCPUs probes the CPU usage of the process if CPUs are not busy, most threads are likely waiting for I/O, so we should scale if CPUs are already busy we won't gain much by scaling and want to avoid the overhead of doing so Types ¶ This section is empty. Source Files ¶ View all Source files cpu_unix.go Click to show internal directories. Click to hide internal directories.