diff --git a/src/AllocatorFIFO.go b/src/AllocatorFIFO.go index c9858e9..4dc0690 100644 --- a/src/AllocatorFIFO.go +++ b/src/AllocatorFIFO.go @@ -3,7 +3,8 @@ package main import ( "sync" "time" - ) + "fmt" +) type AllocatorFIFO struct { history []*Job @@ -98,6 +99,7 @@ func (allocator *AllocatorFIFO) requestResource(task Task) NodeStatus { for j := range node.Status { if res.Status[i].UUID == node.Status[j].UUID { node.Status[j].MemoryAllocated = task.MemoryGPU + fmt.Println(node.Status[j].UUID) } } }