mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-16 00:26:43 +00:00
update
This commit is contained in:
@@ -174,6 +174,11 @@ type OptimizerJobExecutionTime struct {
|
||||
Version int `json:"version"`
|
||||
}
|
||||
|
||||
type OptimizerUtilGPU struct {
|
||||
Util int `json:"util"`
|
||||
Version int `json:"version"`
|
||||
}
|
||||
|
||||
func str2int(str string, defaultValue int) int {
|
||||
i, err := strconv.Atoi(str)
|
||||
if err == nil {
|
||||
|
||||
Reference in New Issue
Block a user