IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).

Python class

CPUMetrics

CPUMetrics​

class max.profiler.cpu.CPUMetrics(user, user_percent, system, system_percent, elapsed)

source

Bases: object

CPU metrics collected during benchmarking.

Parameters:

elapsed​

elapsed: float

source

The elapsed wall-clock time in seconds.

system​

system: float

source

The total system CPU time in seconds.

system_percent​

system_percent: float

source

The system CPU utilization as a percentage.

user​

user: float

source

The total user CPU time in seconds.

user_percent​

user_percent: float

source

The user CPU utilization as a percentage.