Searched refs:priority (Results 1 – 12 of 12) sorted by relevance
/art/libartpalette/system/ |
D | palette_fake.cc | 36 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/ |
D | thread_pool.cc | 74 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()
|
D | thread_pool.h | 87 void SetPthreadPriority(int priority); 164 void SetPthreadPriority(int priority);
|
/art/test/931-agent-thread/ |
D | agent_thread.cc | 37 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/ |
D | logging.cc | 107 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/ |
D | ti_thread.cc | 288 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()
|
D | ti_thread.h | 109 jint priority);
|
D | OpenjdkJvmTi.cc | 241 jint priority) { in RunAgentThread() argument 243 return ThreadUtil::RunAgentThread(env, thread, proc, arg, priority); in RunAgentThread()
|
/art/runtime/jit/ |
D | profile_saver.cc | 57 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/ |
D | threads.cc | 109 return env->NewStringUTF(android::base::StringPrintf("%d", info.priority).c_str()); in Java_art_Test924_getThreadInfo()
|
/art/tools/ahat/ |
D | README.txt | 37 * [low priority] by site allocations won't line up if the stack has been
|
/art/openjdkjvmti/include/ |
D | jvmti.h | 520 jint priority; member 1060 jint priority); 1868 jint priority) { in RunAgentThread() 1869 return functions->RunAgentThread(this, thread, proc, arg, priority); in RunAgentThread()
|