Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SaturatingSub ¶
Types ¶
type SchedulingStrategiesResponse ¶ added in v1.1.0
type SchedulingStrategiesResponse struct {
Success bool `json:"success"`
Message string `json:"message"`
Timestamp string `json:"timestamp"`
Scheduling []SchedulingStrategy `json:"scheduling"`
}
SchedulingStrategiesResponse represents the response structure from the API
type SchedulingStrategy ¶ added in v1.1.0
type SchedulingStrategy struct {
Priority bool `json:"priority"` // If true, set vtime to minimum vtime
ExecutionTime uint64 `json:"execution_time"` // Time slice for this process in nanoseconds
PID int `json:"pid"` // Process ID to apply this strategy to
}
SchedulingStrategy represents a strategy for process scheduling
Click to show internal directories.
Click to hide internal directories.