public final class Proc extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
IOPRIO_CLASS_BE |
static int |
IOPRIO_CLASS_IDLE |
static int |
IOPRIO_CLASS_RT |
static boolean |
IS_SUPPORTED |
static int |
SCHED_BATCH |
static int |
SCHED_IDLE |
static int |
SCHED_OTHER |
| Constructor and Description |
|---|
Proc() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getpid() |
static int |
getppid() |
static int |
gettid() |
static int |
ioprio_get(int pid) |
static int |
ioprio_set(int pid,
int ioprio) |
static long |
sched_getaffinity(int pid) |
static int |
sched_getscheduler(int pid) |
static int |
sched_setaffinity(int pid,
long mask) |
static int |
sched_setscheduler(int pid,
int policy) |
public static final boolean IS_SUPPORTED
public static final int IOPRIO_CLASS_RT
public static final int IOPRIO_CLASS_BE
public static final int IOPRIO_CLASS_IDLE
public static final int SCHED_OTHER
public static final int SCHED_BATCH
public static final int SCHED_IDLE
public static int gettid()
public static int getpid()
public static int getppid()
public static int sched_setaffinity(int pid,
long mask)
public static long sched_getaffinity(int pid)
public static int ioprio_set(int pid,
int ioprio)
public static int ioprio_get(int pid)
public static int sched_setscheduler(int pid,
int policy)
pid - pid or tid. 0 for current threadpublic static int sched_getscheduler(int pid)
pid - pid or tid. 0 for current threadCopyright © 2018. All rights reserved.