Searched refs:ThreadPriority (Results 1 – 10 of 10) sorted by relevance
/external/libchrome/base/threading/ |
D | platform_thread_linux.cc | 36 ThreadPriority priority) { in ThreadPriorityToCgroupDirectory() 38 case ThreadPriority::NORMAL: in ThreadPriorityToCgroupDirectory() 40 case ThreadPriority::BACKGROUND: in ThreadPriorityToCgroupDirectory() 42 case ThreadPriority::DISPLAY: in ThreadPriorityToCgroupDirectory() 43 case ThreadPriority::REALTIME_AUDIO: in ThreadPriorityToCgroupDirectory() 62 ThreadPriority priority) { in SetThreadCgroupForThreadPriority() 75 ThreadPriority priority) { in SetThreadCgroupsForThreadPriority() 95 {ThreadPriority::BACKGROUND, 10}, 96 {ThreadPriority::NORMAL, 0}, 97 {ThreadPriority::DISPLAY, -8}, [all …]
|
D | platform_thread_unittest.cc | 221 const ThreadPriority kThreadPriorityTestValues[] = { 227 ThreadPriority::REALTIME_AUDIO, 229 ThreadPriority::DISPLAY, 232 ThreadPriority::BACKGROUND, 233 ThreadPriority::NORMAL, 234 ThreadPriority::BACKGROUND}; 238 explicit ThreadPriorityTestThread(ThreadPriority priority) in ThreadPriorityTestThread() 245 EXPECT_EQ(ThreadPriority::NORMAL, in RunTest() 253 const ThreadPriority priority_; 268 PlatformThread::SetCurrentThreadPriority(ThreadPriority::DISPLAY); in TEST() [all …]
|
D | platform_thread_posix.cc | 41 : delegate(NULL), joinable(false), priority(ThreadPriority::NORMAL) {} in ThreadParams() 45 ThreadPriority priority; 85 ThreadPriority priority) { in CreateThread() 190 ThreadPriority priority) { in CreateWithPriority() 198 ThreadPriority::NORMAL); in CreateNonJoinable() 204 ThreadPriority priority) { in CreateNonJoinableWithPriority() 245 void PlatformThread::SetCurrentThreadPriority(ThreadPriority priority) { in SetCurrentThreadPriority() 267 ThreadPriority PlatformThread::GetCurrentThreadPriority() { in GetCurrentThreadPriority() 270 return ThreadPriority::NORMAL; in GetCurrentThreadPriority() 273 ThreadPriority platform_specific_priority; in GetCurrentThreadPriority() [all …]
|
D | platform_thread_internal_posix.h | 16 ThreadPriority priority; 27 int ThreadPriorityToNiceValue(ThreadPriority priority); 31 BASE_EXPORT ThreadPriority NiceValueToThreadPriority(int nice_value); 37 bool SetCurrentThreadPriorityForPlatform(ThreadPriority priority); 42 bool GetCurrentThreadPriorityForPlatform(ThreadPriority* priority);
|
D | platform_thread.h | 108 enum class ThreadPriority : int { enum 170 ThreadPriority::NORMAL); in Create() 177 ThreadPriority priority); 188 ThreadPriority priority); 210 static void SetCurrentThreadPriority(ThreadPriority priority); 212 static ThreadPriority GetCurrentThreadPriority(); 225 ThreadPriority priority);
|
D | platform_thread_internal_posix.cc | 14 int ThreadPriorityToNiceValue(ThreadPriority priority) { in ThreadPriorityToNiceValue() 23 ThreadPriority NiceValueToThreadPriority(int nice_value) { in NiceValueToThreadPriority() 34 return ThreadPriority::BACKGROUND; in NiceValueToThreadPriority()
|
D | simple_thread.h | 65 explicit Options(ThreadPriority priority_in) : priority(priority_in) {} in Options() 75 ThreadPriority priority = ThreadPriority::NORMAL;
|
D | thread.h | 85 ThreadPriority priority = ThreadPriority::NORMAL;
|
/external/webrtc/webrtc/base/ |
D | platform_thread.h | 38 enum ThreadPriority { enum 72 bool SetPriority(ThreadPriority priority);
|
D | platform_thread.cc | 196 bool PlatformThread::SetPriority(ThreadPriority priority) { in SetPriority()
|