Home
last modified time | relevance | path

Searched refs:priority (Results 1 – 14 of 14) sorted by relevance

/art/libartpalette/system/
Dpalette_fake.cc36 enum PaletteStatus PaletteSchedSetPriority(int32_t tid, int32_t priority) { in PaletteSchedSetPriority() argument
37 if (priority < art::palette::kMinManagedThreadPriority || in PaletteSchedSetPriority()
38 priority > art::palette::kMaxManagedThreadPriority) { in PaletteSchedSetPriority()
42 g_tid_priority_map[tid] = priority; in PaletteSchedSetPriority()
47 /*out*/int32_t* priority) { in PaletteSchedGetPriority() argument
52 *priority = g_tid_priority_map[tid]; in PaletteSchedGetPriority()
/art/runtime/
Dthread_pool.cc74 void ThreadPoolWorker::SetPthreadPriority(int priority) { in SetPthreadPriority() argument
75 CHECK_GE(priority, PRIO_MIN); in SetPthreadPriority()
76 CHECK_LE(priority, PRIO_MAX); in SetPthreadPriority()
78 int result = setpriority(PRIO_PROCESS, pthread_gettid_np(pthread_), priority); in SetPthreadPriority()
80 PLOG(ERROR) << "Failed to setpriority to :" << priority; in SetPthreadPriority()
83 UNUSED(priority); in SetPthreadPriority()
284 void ThreadPool::SetPthreadPriority(int priority) { in SetPthreadPriority() argument
286 worker->SetPthreadPriority(priority); in SetPthreadPriority()
Dthread_pool.h87 void SetPthreadPriority(int priority);
164 void SetPthreadPriority(int priority);
Dthread.cc1798 int priority; in DumpState() local
1820 priority = jni::DecodeArtField(WellKnownClasses::java_lang_Thread_priority) in DumpState()
1837 priority = GetNativePriority(); in DumpState()
1850 os << " prio=" << priority in DumpState()
1859 << " prio=" << priority in DumpState()
4275 int priority = 0; in GetNativePriority() local
4277 PaletteStatus status = PaletteSchedGetPriority(0, &priority); in GetNativePriority()
4279 return priority; in GetNativePriority()
/art/test/931-agent-thread/
Dagent_thread.cc37 priority(0) { in AgentData()
43 jint priority; member
149 data.priority = JVMTI_THREAD_MIN_PRIORITY; in Java_art_Test931_testAgentThread()
152 jvmtiError result = jvmti_env->RunAgentThread(thread.get(), AgentMain, &data, data.priority); in Java_art_Test931_testAgentThread()
/art/libartbase/base/
Dlogging.cc107 int priority = kLogSeverityToAndroidLogPriority[static_cast<size_t>(log_severity)]; in LogLineLowStack() local
110 if (priority == ANDROID_LOG_FATAL) { in LogLineLowStack()
119 android_writeLog(priority, tag, buf); in LogLineLowStack()
122 android_writeLog(priority, tag, message); in LogLineLowStack()
/art/openjdkjvmti/
Dti_thread.cc288 info_ptr->priority = target->GetNativePriority(); in GetThreadInfo()
344 info_ptr->priority = static_cast<jint>(f->GetInt(peer)); in GetThreadInfo()
759 jint priority; member
803 jint priority) { in RunAgentThread() argument
807 if (priority < JVMTI_THREAD_MIN_PRIORITY || priority > JVMTI_THREAD_MAX_PRIORITY) { in RunAgentThread()
840 data->priority = priority; in RunAgentThread()
Dti_thread.h109 jint priority);
DOpenjdkJvmTi.cc241 jint priority) { in RunAgentThread() argument
243 return ThreadUtil::RunAgentThread(env, thread, proc, arg, priority); in RunAgentThread()
/art/runtime/jit/
Dprofile_saver.cc57 static void SetProfileSaverThreadPriority(pthread_t thread, int priority) { in SetProfileSaverThreadPriority() argument
59 int result = setpriority(PRIO_PROCESS, pthread_gettid_np(thread), priority); in SetProfileSaverThreadPriority()
61 LOG(ERROR) << "Failed to setpriority to :" << priority; in SetProfileSaverThreadPriority()
65 UNUSED(priority); in SetProfileSaverThreadPriority()
/art/test/924-threads/
Dthreads.cc109 return env->NewStringUTF(android::base::StringPrintf("%d", info.priority).c_str()); in Java_art_Test924_getThreadInfo()
/art/tools/ahat/
DREADME.txt37 * [low priority] by site allocations won't line up if the stack has been
/art/compiler/optimizing/
Dregister_allocator_graph_color.cc127 priority(ComputeCoalescePriority(kind, position, liveness)) {} in CoalesceOpportunity()
133 return lhs->priority < rhs->priority; in CmpPriority()
144 const size_t priority; member
/art/openjdkjvmti/include/
Djvmti.h520 jint priority; member
1060 jint priority);
1868 jint priority) { in RunAgentThread()
1869 return functions->RunAgentThread(this, thread, proc, arg, priority); in RunAgentThread()