Documentation ¶
Index ¶
Constants ¶
View Source
const ( Idle = 19 Background = 15 Low = 10 Normal = 0 High = -10 Highest = -20 )
Priority class. Can be used as a priority class in Windows, or as a "nice" value in unixes
View Source
const IOPrioClassShift = 13
View Source
const IOPrioMask = (1 << IOPrioClassShift) - 1
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IOPrioClass ¶
type IOPrioClass int
const ( IOPrioNoClass IOPrioClass = iota IOPrioClassRT IOPrioClassBE IOPrioClassIdle )
IOPrioClass
func GetIONice ¶
func GetIONice() (IOPrioClass, int, error)
GetIONice returns the io_prio class and value
Click to show internal directories.
Click to hide internal directories.