Versions in this module Expand all Collapse all v0 v0.1.1 Jun 26, 2023 Changes in this version + type ConsumerFn = func([]Metrics) + type Metrics struct + ClockCore uint32 + ClockMemory uint32 + FanSpeed uint32 + GpuUtilization uint32 + MemoryTotal uint64 + MemoryUsed uint64 + MemoryUtilization uint32 + Name string + PowerLimit uint32 + PowerUsage uint32 + TemperatureGpu uint32 + TemperatureMemory uint32 + UtcWhen uint64 + type Provider struct + func NewProvider(gpus gpu.GpuSet, rendererWinPath string) *Provider + func (provider *Provider) AddConsumer(consumer ConsumerFn) + func (provider *Provider) Run(group task.TaskGroup) error