gpuperformance

package
v0.0.0-...-98db5b7 Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: CC-BY-4.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateGPUPerformanceHandlers

func CreateGPUPerformanceHandlers(refreshms, sampleamount int) (*Memory, *Temp, *Power)

CreateGPUPerformanceHandlers returns the performance handlers for memory used gpu temp and power. Updates the values every ms. Sample amount is the number of samples stored for the plot

Types

type CoreClock

type CoreClock struct {
	// contains filtered or unexported fields
}

CoreClock handles the device core clock speed info

func (*CoreClock) Handle

func (m *CoreClock) Handle() func(w http.ResponseWriter, req *http.Request)

Handle is the function that returns the handle function

type MemClock

type MemClock struct {
	// contains filtered or unexported fields
}

MemClock handles the info for the clocks of gpu mem

func (*MemClock) Handle

func (m *MemClock) Handle() func(w http.ResponseWriter, req *http.Request)

Handle is the function that returns the handle function

type Memory

type Memory struct {
	Plots io.WriterTo
	// contains filtered or unexported fields
}

func (*Memory) Handle

func (m *Memory) Handle() func(w http.ResponseWriter, req *http.Request)

Handle is the function that returns the handle function

type Power

type Power struct {
	Plots io.WriterTo
	// contains filtered or unexported fields
}

func (*Power) Handle

func (m *Power) Handle() func(w http.ResponseWriter, req *http.Request)

Handle is the function that returns the handle function

type Temp

type Temp struct {
	// contains filtered or unexported fields
}

Temp contains the info to write gpu temps

func (*Temp) Handle

func (m *Temp) Handle() func(w http.ResponseWriter, req *http.Request)

Handle is the function that returns the handle function

Jump to

Keyboard shortcuts

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