package
Version:
v0.0.4
Opens a new window with list of versions in this module.
Published: Apr 22, 2024
License: GPL-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type FBMemoryUsage struct {
XMLName xml.Name `xml:"fb_memory_usage"`
Total string `xml:"total"`
Reserved string `xml:"reserved"`
Used string `xml:"used"`
Free string `xml:"free"`
}
type GPU struct {
XMLName xml.Name `xml:"gpu"`
ID string `xml:"id,attr"`
ProductName string `xml:"product_name"`
ProductBrand string `xml:"product_brand"`
ProductArchitecture string `xml:"product_architecture"`
MemoryUsage FBMemoryUsage `xml:"fb_memory_usage"`
Utilization Utilization `xml:"utilization"`
}
type SMILog struct {
XMLName xml.Name `xml:"nvidia_smi_log"`
GPUs []GPU `xml:"gpu"`
}
type Utilization struct {
XMLName xml.Name `xml:"utilization"`
GPUUtil string `xml:"gpu_util"`
MemoryUtil string `xml:"memort_util"`
EncoderUtil string `xml:"encoder_util"`
DecoderUtil string `xml:"decoder_util"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.