| /arkcompiler/runtime_core/static_core/libpandabase/tests/ |
| D | dfx_test.cpp | 123 uint32_t tid = os::thread::GetCurrentThreadId(); in TEST() local 127 "[TID %06x] E/dfx: DFX option: compiler-nullcheck, option values: 1\n" in TEST() 128 "[TID %06x] E/dfx: DFX option: signal-catcher, option values: 1\n" in TEST() 129 "[TID %06x] E/dfx: DFX option: signal-handler, option values: 1\n" in TEST() 130 "[TID %06x] E/dfx: DFX option: sigquit, option values: 1\n" in TEST() 131 "[TID %06x] E/dfx: DFX option: sigusr1, option values: 1\n" in TEST() 132 "[TID %06x] E/dfx: DFX option: sigusr2, option values: 1\n" in TEST() 133 "[TID %06x] E/dfx: DFX option: mobile-log, option values: 1\n" in TEST() 134 "[TID %06x] E/dfx: DFX option: hung-update, option values: 0\n" in TEST() 135 "[TID %06x] E/dfx: DFX option: reference-dump, option values: 1\n" in TEST() [all …]
|
| D | logger_test.cpp | 59 uint32_t tid = os::thread::GetCurrentThreadId(); in DEATH_TEST() local 62 "[TID %06x] D/common: a\n" in DEATH_TEST() 64 "[TID %06x] I/common: b\n" in DEATH_TEST() 65 "[TID %06x] E/common: c\n", in DEATH_TEST() 66 tid, tid, tid); in DEATH_TEST() 69 EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, COMMON) << "d", "\\[TID [0-9a-f]{6}\\] F/common: d"); in DEATH_TEST() 101 EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, COMPILER) << "d1", "\\[TID [0-9a-f]{6}\\] F/compiler: d1"); in DEATH_TEST() 102 … EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, ASSEMBLER) << "d2", "\\[TID [0-9a-f]{6}\\] F/assembler: d2"); in DEATH_TEST() 103 …EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, DISASSEMBLER) << "d3", "\\[TID [0-9a-f]{6}\\] F/disassembler:… in DEATH_TEST() 132 EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, COMPILER) << "d1", "\\[TID [0-9a-f]{6}\\] F/compiler: d1"); in DEATH_TEST() [all …]
|
| /arkcompiler/runtime_core/libpandabase/tests/ |
| D | logger_test.cpp | 67 uint32_t tid = os::thread::GetCurrentThreadId(); variable 70 "[TID %06x] D/common: a\n" 72 "[TID %06x] I/common: b\n" 73 "[TID %06x] E/common: c\n", 74 tid, tid, tid); 77 EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, COMMON) << "d", "\\[TID [0-9a-f]{6}\\] F/common: d"); 109 EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, COMPILER) << "d1", "\\[TID [0-9a-f]{6}\\] F/compiler: d1"); 110 … EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, ASSEMBLER) << "d2", "\\[TID [0-9a-f]{6}\\] F/assembler: d2"); 111 …EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, DISASSEMBLER) << "d3", "\\[TID [0-9a-f]{6}\\] F/disassembler:… 140 EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, COMPILER) << "d1", "\\[TID [0-9a-f]{6}\\] F/compiler: d1"); [all …]
|
| /arkcompiler/ets_runtime/ecmascript/debugger/ |
| D | js_debugger_manager.cpp | 23 void JsDebuggerManager::AddJsDebuggerManager (int tid, JsDebuggerManager *jsDebuggerManager) in AddJsDebuggerManager() argument 26 if (jsDebuggerManagerMap_.find(tid) == jsDebuggerManagerMap_.end()) { in AddJsDebuggerManager() 27 jsDebuggerManagerMap_.emplace(tid, jsDebuggerManager); in AddJsDebuggerManager() 31 JsDebuggerManager *JsDebuggerManager::GetJsDebuggerManager(int tid) in GetJsDebuggerManager() argument 34 if (jsDebuggerManagerMap_.find(tid) == jsDebuggerManagerMap_.end()) { in GetJsDebuggerManager() 37 return jsDebuggerManagerMap_[tid]; in GetJsDebuggerManager() 40 void JsDebuggerManager::DeleteJsDebuggerManager(int tid) in DeleteJsDebuggerManager() argument 43 auto it = jsDebuggerManagerMap_.find(tid); in DeleteJsDebuggerManager()
|
| /arkcompiler/toolchain/inspector/ |
| D | inspector.cpp | 169 pthread_t tid; in InitializeInspector() local 170 if (pthread_create(&tid, nullptr, &HandleClient, static_cast<void *>( in InitializeInspector() 175 newInspector->websocketServer_->tid_ = tid; in InitializeInspector() 283 debuggerPostTask_([tid = tid_, vm = vm_] { in OnMessage() 284 if (tid != pthread_self()) { in OnMessage() 292 debuggerPostTask_([tid = tidForSocketPair_, vm = vm_] { in OnMessage() 294 if (tid != static_cast<pid_t>(threadOrTaskId)) { in OnMessage() 323 const DebuggerPostTask &GetDebuggerPostTask(int tid) in GetDebuggerPostTask() argument 326 if (g_debuggerInfo.find(tid) == g_debuggerInfo.end()) { in GetDebuggerPostTask() 330 return g_debuggerInfo[tid].second; in GetDebuggerPostTask() [all …]
|
| D | inspector.h | 38 bool StartDebugForSocketpair(int tid, int socketfd); 44 void StopOldDebug(int tid, const std::string& componentName); 48 void StoreDebuggerInfo(int tid, void* vm, const DebuggerPostTask& debuggerPostTask);
|
| /arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/ |
| D | native_stack.cpp | 29 std::string GetNativeThreadNameForFile(pid_t tid) in GetNativeThreadNameForFile() argument 33 commFile << "/proc/self/task/" << tid << "/comm"; in GetNativeThreadNameForFile() 55 void DumpKernelStack(std::ostream &os, pid_t tid, const char *tag, bool count) in DumpKernelStack() argument 57 if (tid == static_cast<pid_t>(thread::GetCurrentThreadId())) { in DumpKernelStack() 62 stackFile << "/proc/self/task/" << tid << "/stack"; in DumpKernelStack() 113 auto tid = static_cast<pid_t>(strtol(dir->d_name, &dirEnd, FIND_TID)); in InitKernelTidLists() local 115 kernelTid_.insert(tid); in InitKernelTidLists() 127 std::set<int>::iterator tid; in Dump() local 128 for (tid = dumpTid.begin(); tid != dumpTid.end(); ++tid) { in Dump() 129 // thread_manager tid may have wrong,check again in Dump() [all …]
|
| D | cpu_affinity.cpp | 233 bool CpuAffinityManager::GetThreadAffinity(int tid, CpuSet &cpuset) in GetThreadAffinity() argument 235 bool success = sched_getaffinity(tid, sizeof(CpuSetType), cpuset.GetData()) == 0; in GetThreadAffinity() 236 LOG_IF(!success, DEBUG, COMMON) << "Couldn't get affinity for thread with tid = " in GetThreadAffinity() 237 << (tid != 0 ? tid : thread::GetCurrentThreadId()) in GetThreadAffinity() 250 bool CpuAffinityManager::SetAffinityForThread(int tid, const CpuSet &cpuset) in SetAffinityForThread() argument 255 bool success = sched_setaffinity(tid, sizeof(CpuSetType), cpuset.GetData()) == 0; in SetAffinityForThread() 257 … << " for thread with tid = " << (tid != 0 ? tid : thread::GetCurrentThreadId()) in SetAffinityForThread() 263 bool CpuAffinityManager::SetAffinityForThread(int tid, uint8_t powerFlags) in SetAffinityForThread() argument 278 return SetAffinityForThread(tid, cpuset); in SetAffinityForThread()
|
| /arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
| D | pgo_utils.h | 104 auto tid = v_.Gettid(); in operation_() local 107 if (!v_.count.compare_exchange_strong(except, desired) && v_.last_tid != tid) { in operation_() 109 << ", current tid: " << tid << ", last tid: " << v_.last_tid; in operation_() 111 v_.last_tid = tid; in operation_() 115 auto tid = v_.Gettid(); in ~ConcurrentGuard() local 118 if (!v_.count.compare_exchange_strong(except, desired) && v_.last_tid != tid) { in ~ConcurrentGuard() 120 << ", current tid: " << tid << ", last tid: " << v_.last_tid; in ~ConcurrentGuard()
|
| /arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/ |
| D | sampling_processor.cpp | 54 // the tid returned by ffrt_task_get_tid will be zero in Run() 55 pthread_t tid = ffrt_task_get_tid(params.taskHandle_); in Run() local 56 if (tid != 0 && jsThreadId != tid) { in Run() 57 jsThreadId = tid; in Run() 59 if (tid == 0) { in Run() 100 void *SamplingProcessor::PostSemAndLogEnd(SamplesRecord *generator, pthread_t tid) in PostSemAndLogEnd() argument 102 pthread_setname_np(tid, "OS_GC_Thread"); in PostSemAndLogEnd()
|
| D | sampling_processor.h | 33 static void *PostSemAndLogEnd(SamplesRecord *generator, pthread_t tid); 48 RunParams(SamplesRecord *generator, uint32_t interval, pthread_t tid, void *taskHandle) in RunParams() 49 :generator_(generator), interval_(interval), tid_(tid), taskHandle_(taskHandle) {}; in RunParams()
|
| /arkcompiler/ets_frontend/test/scripts/performance_test/ |
| D | test_error_report.json | 28 "tid": "Worker0" string 46 "tid": "Worker0" string 62 "tid": "Worker0" string 80 "tid": "Worker0" string 98 "tid": "Worker0" string
|
| D | test_report.json | 28 "tid": "Worker0" string 46 "tid": "Worker0" string 62 "tid": "Worker0" string 80 "tid": "Worker0" string
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_phase/src/ |
| D | maple_phase_support.cpp | 25 std::thread::id tid = std::this_thread::get_id(); in RunBeforePhase() local 26 if (!multiTimers.count(tid)) { in RunBeforePhase() 27 multiTimers.emplace(std::make_pair(tid, allocator.New<MPLTimer>())); in RunBeforePhase() 29 multiTimers[tid]->Start(); in RunBeforePhase() 39 std::thread::id tid = std::this_thread::get_id(); in RunAfterPhase() local 40 if (multiTimers.count(tid)) { in RunAfterPhase() 41 multiTimers[tid]->Stop(); in RunAfterPhase() 42 usedTime += multiTimers[tid]->ElapsedMicroseconds(); in RunAfterPhase()
|
| /arkcompiler/runtime_core/static_core/tools/sampler/ |
| D | options.yaml | 29 - name: csv-tid-separation 31 default: single-csv-multi-tid 33 - single-csv-single-tid 34 - single-csv-multi-tid
|
| /arkcompiler/ets_runtime/ecmascript/napi/ |
| D | dfx_jsnapi.cpp | 178 // tid = 0: dump all vm; tid != 0: dump tid vm, hidumper. 180 … [[maybe_unused]] const DumpSnapShotOption &dumpOption, [[maybe_unused]] uint32_t tid) in DumpHeapSnapshot() argument 189 LOG_ECMA(INFO) << "DumpHeapSnapshot tid " << tid << " curTid " << curTid; in DumpHeapSnapshot() 190 DumpHeapSnapshotWithVm(vm, dumpOption, tid); in DumpHeapSnapshot() 195 [[maybe_unused]] uint32_t tid) in DumpHeapSnapshotWithVm() argument 217 if (tid == 0 || tid == curTid) { in DumpHeapSnapshotWithVm() 235 DumpHeapSnapshotWithVm(workerVm, dumpOption, tid); in DumpHeapSnapshotWithVm() 260 // tid = 0: TriggerGC all vm; tid != 0: TriggerGC tid vm 261 void DFXJSNApi::TriggerGC([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] uint32_t tid) in TriggerGC() argument 269 LOG_ECMA(INFO) << "TriggerGC tid " << tid << " curTid " << curTid; in TriggerGC() [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | mark_word_test.cpp | 164 …void CheckLightweightLock(const ManagedThread::ThreadId tId, const uint32_t lockCount, bool isMark… in CheckLightweightLock() argument 169 ASSERT_EQ(mw_.GetThreadId(), tId) << " seed = " << paramGetter_.GetSeed(); in CheckLightweightLock() 200 void DecodeLightLock(ManagedThread::ThreadId tId, uint32_t lCount) in DecodeLightLock() argument 202 mw_ = mw_.DecodeFromLightLock(tId, lCount); in DecodeLightLock() 222 auto tId = paramGetter_.GetThreadId(); in DecodeAndCheckLightLock() local 224 DecodeLightLock(tId, lCount); in DecodeAndCheckLightLock() 225 CheckLightweightLock(tId, lCount, isMarkedForGc, isReadBarrierSet); in DecodeAndCheckLightLock() 446 auto tId = paramGetter.GetThreadId(); in CheckMarkingWithGC() local 448 wrapper.DecodeLightLock(tId, lCount); in CheckMarkingWithGC() 451 wrapper.CheckLightweightLock(tId, lCount, true); in CheckMarkingWithGC() [all …]
|
| /arkcompiler/toolchain/test/fuzztest/base/ptevents/paused/baseptspausedsethitbreakpoints_fuzzer/ |
| D | baseptspausedsethitbreakpoints_fuzzer.cpp | 37 int tid = 2; in BasePtsPausedSetHitBreakpointsFuzzTest() local 39 std::vector<BreakpointId> breakpointid_(tid); in BasePtsPausedSetHitBreakpointsFuzzTest() 40 for (int i = 0; i < tid; i++) { in BasePtsPausedSetHitBreakpointsFuzzTest()
|
| /arkcompiler/runtime_core/static_core/libpandabase/os/ |
| D | cpu_affinity.h | 116 * @param tid thread id for setting 120 PANDA_PUBLIC_API static bool SetAffinityForThread(int tid, const CpuSet &cpuset); 124 * @param tid thread id for setting 128 PANDA_PUBLIC_API static bool SetAffinityForThread(int tid, uint8_t powerFlags); 154 * @param tid thread id for getting 158 static bool GetThreadAffinity(int tid, CpuSet &cpuset);
|
| D | thread.h | 128 NativeHandleType tid; 130 pthread_t tid; 141 pthread_create(&tid, nullptr, 145 return tid; 147 return reinterpret_cast<NativeHandleType>(tid);
|
| /arkcompiler/ets_runtime/ecmascript/napi/include/ |
| D | dfx_jsnapi.h | 74 …static void DumpHeapSnapshot(const EcmaVM *vm, const DumpSnapShotOption &dumpOption, uint32_t tid); 76 … void DumpHeapSnapshotWithVm(const EcmaVM *vm, const DumpSnapShotOption &dumpOption, uint32_t tid); 77 static void TriggerGC(const EcmaVM *vm, uint32_t tid); 112 …static bool BuildJsStackInfoList(const EcmaVM *hostVm, uint32_t tid, std::vector<JsFrameInfo>& jsF… 139 static bool StartProfiler(EcmaVM *vm, const ProfilerOption &option, int tid, 151 static void ResumeVMById(EcmaVM *vm, uint32_t tid); 152 static bool SuspendVMById(EcmaVM *vm, uint32_t tid);
|
| /arkcompiler/runtime_core/libpandabase/os/ |
| D | thread.h | 123 native_handle_type tid; 125 pthread_t tid; 143 pthread_create(&tid, &attr, 147 return tid; 149 return reinterpret_cast<native_handle_type>(tid);
|
| /arkcompiler/runtime_core/static_core/compiler/docs/ |
| D | compiler_doc.md | 175 …TID 0029aa] D/compiler: [INLINING] Try to inline(id=8, virtual, size=98, vregs=15, CHA): i32 Multi… 176 [TID 0029aa] D/compiler: [INLINING] Method contains unsuitable bytecode 178 [TID 0029ae] D/compiler: [CLEANUP] Removed empty block: 6 179 [TID 0029ae] D/compiler: [CLEANUP] Removed empty block: 7 180 [TID 0029ae] D/compiler: [CLEANUP] Removed empty block: 10 181 [TID 0029ae] D/compiler: [CLEANUP] Removed empty block: 11 183 [TID 0029ae] D/compiler: [VN_OPT] Equivalent instructions are searched for inst with id 77 184 [TID 0029ae] D/compiler: [VN_OPT] Set VN 31 for inst 77 185 [TID 0029ae] D/compiler: [VN_OPT] Equivalent instructions are found, id 48 187 [TID 0029ae] D/compiler: [LICM_OPT] Visit Loop, id = 1 [all …]
|
| /arkcompiler/toolchain/test/autotest/aw/ |
| D | fport.py | 43 def fport_debugger_server(cls, port, pid, tid=0): argument 45 if tid == 0: 48 cmd = ['hdc', 'fport', f'tcp:{port}', f'ark:{pid}@{tid}@Debugger']
|
| /arkcompiler/runtime_core/static_core/tests/cts-assembly/ |
| D | exceptions-array-store.pa | 25 # [TID 027b92] E/verifier: Verifier error 41: Bad accumulator type 26 # [TID 027b92] E/verifier: Error: method i32 _GLOBAL::main() failed to verify
|