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

UtilizationStats

UtilizationStats

class max.profiler.gpu.UtilizationStats(gpu_usage_percent, memory_activity_percent)

source

Bases: Struct

GPU compute and memory activity utilization percentages.

This class captures the current utilization levels of a GPU’s compute units and memory subsystem, providing insights into how effectively the GPU resources are being utilized during workload execution.

Parameters:

  • gpu_usage_percent (int)
  • memory_activity_percent (int | None)

gpu_usage_percent

gpu_usage_percent: int

source

Current GPU compute utilization as a percentage (0-100).

memory_activity_percent

memory_activity_percent: int | None

source

Memory controller activity percentage, if available from the GPU vendor.