gpu: support read usage of multiple cards on linux (#79)

This commit is contained in:
UUBulb
2024-10-24 20:43:17 +08:00
committed by GitHub
parent 20db2c9cb2
commit 0cba96bae1
18 changed files with 393 additions and 307 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ type HostState struct {
UdpConnCount uint64
ProcessCount uint64
Temperatures []SensorTemperature
GPU float64
GPU []float64
}
func (s *HostState) PB() *pb.State {