schema_v11

package
v1.300034.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(acc telegraf.Accumulator, buf []byte) error

Types

type ClockStats

type ClockStats struct {
	Graphics string `xml:"graphics_clock"` // int
	SM       string `xml:"sm_clock"`       // int
	Memory   string `xml:"mem_clock"`      // int
	Video    string `xml:"video_clock"`    // int
}

ClockStats defines the structure of the clocks portion of the smi output.

type ECCMode

type ECCMode struct {
	CurrentEcc string `xml:"current_ecc"` // Enabled, Disabled, N/A
	PendingEcc string `xml:"pending_ecc"` // Enabled, Disabled, N/A
}

ECCMode defines the structure of the ecc portions in the smi output.

type EncoderStats

type EncoderStats struct {
	SessionCount   string `xml:"session_count"`   // int
	AverageFPS     string `xml:"average_fps"`     // int
	AverageLatency string `xml:"average_latency"` // int
}

EncoderStats defines the structure of the encoder_stats portion of the smi output.

type FBCStats

type FBCStats struct {
	SessionCount   string `xml:"session_count"`   // int
	AverageFPS     string `xml:"average_fps"`     // int
	AverageLatency string `xml:"average_latency"` // int
}

FBCStats defines the structure of the fbc_stats portion of the smi output.

type GPU

type GPU struct {
	Clocks        ClockStats         `xml:"clocks"`
	ComputeMode   string             `xml:"compute_mode"`
	DisplayActive string             `xml:"display_active"`
	DisplayMode   string             `xml:"display_mode"`
	EccMode       ECCMode            `xml:"ecc_mode"`
	Encoder       EncoderStats       `xml:"encoder_stats"`
	FanSpeed      string             `xml:"fan_speed"` // int
	FBC           FBCStats           `xml:"fbc_stats"`
	Memory        MemoryStats        `xml:"fb_memory_usage"`
	PCI           PCI                `xml:"pci"`
	Power         PowerReadings      `xml:"power_readings"`
	ProdName      string             `xml:"product_name"`
	PState        string             `xml:"performance_state"`
	RemappedRows  MemoryRemappedRows `xml:"remapped_rows"`
	RetiredPages  MemoryRetiredPages `xml:"retired_pages"`
	Serial        string             `xml:"serial"`
	Temp          TempStats          `xml:"temperature"`
	Utilization   UtilizationStats   `xml:"utilization"`
	UUID          string             `xml:"uuid"`
	VbiosVersion  string             `xml:"vbios_version"`
}

GPU defines the structure of the GPU portion of the smi output.

type MemoryRemappedRows

type MemoryRemappedRows struct {
	Correctable   string `xml:"remapped_row_corr"`    // int
	Uncorrectable string `xml:"remapped_row_unc"`     // int
	Pending       string `xml:"remapped_row_pending"` // Yes/No
	Failure       string `xml:"remapped_row_failure"` // Yes/No
}

MemoryRemappedRows defines the structure of the remapped rows portions in the smi output.

type MemoryRetiredPages

type MemoryRetiredPages struct {
	MultipleSingleBit struct {
		Count string `xml:"retired_count"` // int
	} `xml:"multiple_single_bit_retirement"`
	DoubleBit struct {
		Count string `xml:"retired_count"` // int
	} `xml:"double_bit_retirement"`
	PendingBlacklist  string `xml:"pending_blacklist"`  // Yes/No
	PendingRetirement string `xml:"pending_retirement"` // Yes/No
}

MemoryRetiredPages defines the structure of the retired pages portions in the smi output.

type MemoryStats

type MemoryStats struct {
	Total    string `xml:"total"`    // int
	Used     string `xml:"used"`     // int
	Free     string `xml:"free"`     // int
	Reserved string `xml:"reserved"` // int
}

MemoryStats defines the structure of the memory portions in the smi output.

type PCI

type PCI struct {
	LinkInfo struct {
		PCIEGen struct {
			CurrentLinkGen string `xml:"current_link_gen"` // int
		} `xml:"pcie_gen"`
		LinkWidth struct {
			CurrentLinkWidth string `xml:"current_link_width"` // int
		} `xml:"link_widths"`
	} `xml:"pci_gpu_link_info"`
}

PCI defines the structure of the pci portion of the smi output.

type PowerReadings

type PowerReadings struct {
	PowerDraw string `xml:"power_draw"` // float
}

PowerReadings defines the structure of the power_readings portion of the smi output.

type TempStats

type TempStats struct {
	GPUTemp string `xml:"gpu_temp"` // int
}

TempStats defines the structure of the temperature portion of the smi output.

type UtilizationStats

type UtilizationStats struct {
	GPU     string `xml:"gpu_util"`     // int
	Memory  string `xml:"memory_util"`  // int
	Encoder string `xml:"encoder_util"` // int
	Decoder string `xml:"decoder_util"` // int
}

UtilizationStats defines the structure of the utilization portion of the smi output.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL