package
0.0.0-20200605025306-c9cfaf6957aa
Repository: https://github.com/mmcloughlin/goperf.git
Documentation: pkg.go.dev

# Functions

Affinity returns the CPU affinity of the given process.
AffinitySelf returns the.
Exec executes the given command using the execve(2) system call, inheriting environment.
Readable checks whether path exists and the calling process can read it.
SetCPUSet moves pid to the named cpuset.
SetCPUSetSelf moves this thread to the named cpuset.
SetPriority sets the priority of process with the given pid, where 0 is the calling process.
SetScheduler sets the linux scheduling policy for process pid, where 0 is the calling process.
Writable checks whether path exists and the calling process can write to it.

# Constants

Linux scheduling policies.
Linux scheduling policies.
Linux scheduling policies.
Linux scheduling policies.
Linux scheduling policies.
Linux scheduling policies.

# Structs

SchedParam is the linux sched_param struct.
Stat is a config provider based on the `/proc/*/stat` file.

# Type aliases

Policy is a linux scheduling policy.