/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
D | scheduler.cpp | 51 void Scheduler::AddDep(uint32_t *prio, Inst *from, Inst *to, uint32_t latency, Inst *barrier) in AddDep() argument 62 *prio = std::max(*prio, latency + prio_[to]); in AddDep() 109 uint32_t prio = 0; in ProcessInst() local 121 AddDep(&prio, inst, *lastBarrier, 1U, *lastBarrier); in ProcessInst() 131 AddDep(&prio, inst, user, 1U, *lastBarrier); in ProcessInst() 139 AddDep(&prio, inst, user, instLatency, *lastBarrier); in ProcessInst() 147 AddDep(&prio, inst, ss, 1U, *lastBarrier); in ProcessInst() 152 ProcessMemory(inst, &prio, *lastBarrier); in ProcessInst() 157 ProcessSpecial(inst, &prio, *lastBarrier); in ProcessInst() 162 prio_.insert({inst, prio}); in ProcessInst() [all …]
|
D | scheduler.h | 58 void AddDep(uint32_t *prio, Inst *from, Inst *to, uint32_t latency, Inst *barrier); 64 void ProcessMemory(Inst *inst, uint32_t *prio, Inst *lastBarrier); 65 void ProcessSpecial(Inst *inst, uint32_t *prio, Inst *lastBarrier); 66 void ProcessSpecialBoundsCheckI(Inst *inst, uint32_t *prio, Inst *lastBarrier); 67 void ProcessRefInst(Inst *inst, uint32_t *prio, Inst *lastBarrier);
|
/arkcompiler/runtime_core/static_core/platforms/windows/libpandabase/ |
D | thread.cpp | 37 int SetPriority(DWORD threadId, int prio) in SetPriority() argument 40 ASSERT(prio >= -2); // -2: the lowest priority in SetPriority() 41 ASSERT(prio <= 2); // 2: the highest priority in SetPriority() 46 auto ret = SetThreadPriority(thread, prio); in SetPriority()
|
D | thread.h | 24 int SetPriority(DWORD threadId, int prio);
|
/arkcompiler/runtime_core/platforms/windows/libpandabase/ |
D | thread.cpp | 37 int SetPriority(DWORD thread_id, int prio) in SetPriority() argument 40 ASSERT(prio >= -2); // -2: the lowest priority in SetPriority() 41 ASSERT(prio <= 2); // 2: the highest priority in SetPriority() 46 auto ret = SetThreadPriority(thread, prio); in SetPriority()
|
D | thread.h | 24 int SetPriority(DWORD thread_id, int prio);
|
/arkcompiler/runtime_core/platforms/unix/libpandabase/ |
D | thread.cpp | 59 int SetPriority(int thread_id, int prio) in SetPriority() argument 62 ASSERT(prio <= 19); // 19: the lowest priority in SetPriority() 63 ASSERT(prio >= -20); // -20: the highest priority in SetPriority() 65 return setpriority(PRIO_PROCESS, thread_id, prio); in SetPriority()
|
D | thread.h | 23 int SetPriority(int thread_id, int prio);
|
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/ |
D | thread.cpp | 60 int SetPriority(int threadId, int prio) in SetPriority() argument 63 ASSERT(prio <= 19); // 19: the lowest priority in SetPriority() 64 ASSERT(prio >= -20); // -20: the highest priority in SetPriority() 66 return setpriority(PRIO_PROCESS, threadId, prio); in SetPriority()
|
D | thread.h | 27 PANDA_PUBLIC_API int SetPriority(int threadId, int prio);
|
/arkcompiler/runtime_core/static_core/compiler/docs/ |
D | scheduler_doc.md | 47 void Scheduler::AddDep(uint32_t* prio, Inst* from, Inst* to, uint32_t latency, Inst* barrier) { 49 *prio = std::max(*prio, latency + prio_[to]); 69 uint32_t prio = 0; 76 AddDep(&prio, inst, last_barrier, 1U, last_barrier); 83 AddDep(&prio, inst, user, 1U, last_barrier); 89 AddDep(&prio, inst, user, inst_latency, last_barrier); 95 prio_.insert({inst, prio});
|
/arkcompiler/runtime_core/static_core/runtime/ |
D | thread.cpp | 732 void ManagedThread::SetThreadPriority(int32_t prio) in SetThreadPriority() argument 735 int res = os::thread::SetPriority(tid, prio); in SetThreadPriority() 737 LOG(DEBUG, RUNTIME) << "Successfully changed priority for thread " << tid << " to " << prio; in SetThreadPriority() 739 LOG(DEBUG, RUNTIME) << "Cannot change priority for thread " << tid << " to " << prio; in SetThreadPriority()
|
/arkcompiler/runtime_core/static_core/runtime/include/ |
D | managed_thread.h | 445 void SetThreadPriority(int32_t prio);
|