Archived
1
1
Fork 0

Merge pull request #18 from joshlay/utils_docstring_vars

remove deprecated vars from utils.py docstring
This commit is contained in:
Josh Lay 2023-04-26 23:25:12 -05:00 committed by GitHub
commit 698b457bf9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,11 +4,10 @@ utils.py
This module contains utility functions/variables used throughout the 'amdgpu-stats' TUI This module contains utility functions/variables used throughout the 'amdgpu-stats' TUI
Variables: Variables:
- CARD: the identifier for the discovered AMD GPU, ie: `card0` / `card1` - AMDGPU_CARDS (dict): discovered AMD GPUs and their `hwmon` stats directories
- hwmon_dir: the `hwmon` interface (dir) that provides stats for this card - Example: `{'card0': '/sys/class/drm/card0/device/hwmon/hwmon9'}`
- SRC_FILES: dictionary of the known stats from the items in `hwmon_dir` - If no *AMD* cards are found, this will be empty.
- TEMP_FILES: dictionary of the *discovered* temperature nodes / stat files - CLOCK_DOMAINS: tuple of supported clock domains: `('core', 'memory')`
- CLOCK_DOMAINS: tuple of supported clock domains: `core`, `memory`
""" """
# disable superfluous linting # disable superfluous linting
# pylint: disable=line-too-long # pylint: disable=line-too-long