playnite

package
v0.0.0-...-958ef34 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

* Copyright (c) 2023 Juice Technologies, Inc. All Rights Reserved.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGpuMetricsConsumer

func NewGpuMetricsConsumer(agent *app.Agent) (gpu.MetricsConsumerFn, error)

Types

type GpuData

type GpuData struct {
	Name              string `json:"name"`
	GpuUtilization    int    `json:"gpuUtilization"`
	MemoryUtilization int    `json:"memoryUtilization"`
	MemoryTotal       int64  `json:"memoryTotal"`
	MemoryUsed        int64  `json:"memoryUsed"`
	PowerUsage        int    `json:"powerUsage"`
	PowerLimit        int    `json:"powerLimit"`
	FanSpeed          int    `json:"fanSpeed"`
	TemperatureGpu    int    `json:"temperatureGpu"`
	TemperatureMemory int    `json:"temperatureMemory"`
	ClockCore         int    `json:"clockCore"`
	ClockMemory       int    `json:"clockMemory"`
}

type GpuUpdate

type GpuUpdate struct {
	Hostname string    `json:"hostname"`
	Port     int       `json:"port"`
	Uuid     string    `json:"uuid"`
	Action   string    `json:"action"`
	Nonce    int       `json:"nonce"`
	GpuCount int       `json:"gpu_count"`
	Data     []GpuData `json:"data"`
}

Jump to

Keyboard shortcuts

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