| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | # -*- coding: utf-8 -*- |
||
| 2 | # |
||
| 3 | # This file is part of Glances. |
||
| 4 | # |
||
| 5 | # SPDX-FileCopyrightText: 2024 Nicolas Hennion <[email protected]> |
||
| 6 | # |
||
| 7 | # SPDX-License-Identifier: LGPL-3.0-only |
||
| 8 | # |
||
| 9 | |||
| 10 | """AMD Extension unit for Glances' GPU plugin.""" |
||
| 11 | |||
| 12 | |||
| 13 | class AmdGPU: |
||
| 14 | """GPU card class.""" |
||
| 15 | |||
| 16 | def __init__(self): |
||
| 17 | """Init AMD GPU card class.""" |
||
| 18 | pass |
||
| 19 | |||
| 20 | def exit(self): |
||
| 21 | """Close AMD GPU class.""" |
||
| 22 | pass |
||
| 23 | |||
| 24 | def get_device_stats(self): |
||
| 25 | """Get AMD GPU stats.""" |
||
| 26 | stats = [] |
||
| 27 | return stats |
||
| 28 |