1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-15 08:16:43 +00:00
This commit is contained in:
2019-04-29 20:18:51 +08:00
parent 7eabdc2444
commit 158e7f72d4
2 changed files with 2 additions and 1 deletions

View File

@@ -93,6 +93,7 @@ func (jm *JobManager) start() {
/* return resource */ /* return resource */
jm.allocator.returnResource(jm.resources[i]) jm.allocator.returnResource(jm.resources[i])
fmt.Println("return resource ", jm.resources[i].ClientID)
} }
} }
if !flag { if !flag {

View File

@@ -99,7 +99,7 @@ type GPUStatus struct {
UUID string `json:"uuid"` UUID string `json:"uuid"`
ProductName string `json:"product_name"` ProductName string `json:"product_name"`
PerformanceState string `json:"performance_state"` PerformanceState string `json:"performance_state"`
MemoryTotal int `json:"emory_total"` MemoryTotal int `json:"memory_total"`
MemoryFree int `json:"memory_free"` MemoryFree int `json:"memory_free"`
MemoryAllocated int `json:"memory_allocated"` MemoryAllocated int `json:"memory_allocated"`
MemoryUsed int `json:"memory_used"` MemoryUsed int `json:"memory_used"`