merge b2g-inbound to mozilla-central
This commit is contained in:
@@ -878,6 +878,8 @@ ProcessPriorityToString(ProcessPriority aPriority)
|
||||
switch (aPriority) {
|
||||
case PROCESS_PRIORITY_MASTER:
|
||||
return "MASTER";
|
||||
case PROCESS_PRIORITY_PREALLOC:
|
||||
return "PREALLOC";
|
||||
case PROCESS_PRIORITY_FOREGROUND_HIGH:
|
||||
return "FOREGROUND_HIGH";
|
||||
case PROCESS_PRIORITY_FOREGROUND:
|
||||
@@ -916,6 +918,13 @@ ProcessPriorityToString(ProcessPriority aPriority,
|
||||
if (aCPUPriority == PROCESS_CPU_PRIORITY_LOW) {
|
||||
return "MASTER:CPU_LOW";
|
||||
}
|
||||
case PROCESS_PRIORITY_PREALLOC:
|
||||
if (aCPUPriority == PROCESS_CPU_PRIORITY_NORMAL) {
|
||||
return "PREALLOC:CPU_NORMAL";
|
||||
}
|
||||
if (aCPUPriority == PROCESS_CPU_PRIORITY_LOW) {
|
||||
return "PREALLOC:CPU_LOW";
|
||||
}
|
||||
case PROCESS_PRIORITY_FOREGROUND_HIGH:
|
||||
if (aCPUPriority == PROCESS_CPU_PRIORITY_NORMAL) {
|
||||
return "FOREGROUND_HIGH:CPU_NORMAL";
|
||||
|
||||
Reference in New Issue
Block a user