SCHED_* stuff up to #9
This commit is contained in:
parent
8dcea80764
commit
94b2a2e910
@ -609,10 +609,13 @@ static int pr_class(char *restrict const outbuf, const proc_t *restrict const pp
|
||||
case 0: return snprintf(outbuf, COLWID, "TS"); // SCHED_OTHER
|
||||
case 1: return snprintf(outbuf, COLWID, "FF"); // SCHED_FIFO
|
||||
case 2: return snprintf(outbuf, COLWID, "RR"); // SCHED_RR
|
||||
case 3: return snprintf(outbuf, COLWID, "B"); // SCHED_BATCH? (will be "B")
|
||||
case 3: return snprintf(outbuf, COLWID, "B"); // SCHED_BATCH
|
||||
case 4: return snprintf(outbuf, COLWID, "#4"); // SCHED_ISO? (Con Kolivas)
|
||||
case 5: return snprintf(outbuf, COLWID, "#5"); //
|
||||
case 5: return snprintf(outbuf, COLWID, "#5"); // SCHED_IDLEPRIO? (Con Kolivas)
|
||||
case 8: return snprintf(outbuf, COLWID, "#6"); //
|
||||
case 8: return snprintf(outbuf, COLWID, "#7"); //
|
||||
case 8: return snprintf(outbuf, COLWID, "#8"); //
|
||||
case 8: return snprintf(outbuf, COLWID, "#9"); //
|
||||
default: return snprintf(outbuf, COLWID, "?"); // unknown value
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user