mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-13 07:46:43 +00:00
refactor
This commit is contained in:
13
src/pool_status.go
Normal file
13
src/pool_status.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package main
|
||||
|
||||
type PoolStatus struct {
|
||||
TimeStamp string `json:"ts"`
|
||||
UtilCPU float64 `json:"cpu_util"`
|
||||
TotalCPU int `json:"cpu_total"`
|
||||
TotalMem int `json:"mem_total"`
|
||||
AvailableMem int `json:"mem_available"`
|
||||
TotalGPU int `json:"TotalGPU"`
|
||||
UtilGPU int `json:"gpu_util"`
|
||||
TotalMemGPU int `json:"gpu_mem_total"`
|
||||
AvailableMemGPU int `json:"gpu_mem_available"`
|
||||
}
|
||||
Reference in New Issue
Block a user