Home
last modified time | relevance | path

Searched refs:nice_value (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/threading/
Dplatform_thread_internal_posix.cc17 return pair.nice_value; in ThreadPriorityToNiceValue()
23 ThreadPriority NiceValueToThreadPriority(int nice_value) { in NiceValueToThreadPriority() argument
28 if (pair.nice_value >= nice_value) in NiceValueToThreadPriority()
Dplatform_thread_internal_posix.h17 int nice_value; member
31 BASE_EXPORT ThreadPriority NiceValueToThreadPriority(int nice_value);
Dplatform_thread_unittest.cc321 kThreadPriorityToNiceValueMap[0].nice_value; in TEST()
323 kThreadPriorityToNiceValueMap[1].nice_value; in TEST()
325 kThreadPriorityToNiceValueMap[2].nice_value; in TEST()
327 kThreadPriorityToNiceValueMap[3].nice_value; in TEST()
Dplatform_thread_posix.cc292 int nice_value = getpriority(PRIO_PROCESS, 0); in GetCurrentThreadPriority()
299 return internal::NiceValueToThreadPriority(nice_value); in GetCurrentThreadPriority()