/developtools/smartperf_host/trace_streamer/src/filter/ |
D | process_filter.cpp | 37 uint32_t ProcessFilter::UpdateOrCreateThreadWithName(uint64_t timeStamp, uint32_t tid, std::string_… in UpdateOrCreateThreadWithName() argument 40 return UpdateOrCreateThreadWithNameIndex(timeStamp, tid, nameIndex); in UpdateOrCreateThreadWithName() 64 uint32_t ProcessFilter::UpdateOrCreateThread(uint64_t timeStamp, uint32_t tid) in UpdateOrCreateThread() argument 66 return UpdateOrCreateThreadWithNameIndex(timeStamp, tid, 0); in UpdateOrCreateThread() 68 uint32_t ProcessFilter::UpdateOrCreateThreadWithPidAndName(uint32_t tid, uint32_t pid, std::string_… in UpdateOrCreateThreadWithPidAndName() argument 70 uint32_t internalTid = GetOrCreateThreadWithPid(tid, pid); in UpdateOrCreateThreadWithPidAndName() 75 if (tid == pid) { in UpdateOrCreateThreadWithPidAndName() 81 uint32_t ProcessFilter::GetOrCreateThreadWithPid(uint32_t tid, uint32_t pid) in GetOrCreateThreadWithPid() argument 86 internalTid = GetInternalTid(tid); in GetOrCreateThreadWithPid() 88 internalTid = GetInternalTid(tid, pid); in GetOrCreateThreadWithPid() [all …]
|
D | process_filter.h | 33 uint32_t UpdateOrCreateThreadWithName(uint64_t timeStamp, uint32_t tid, std::string_view name); 34 uint32_t UpdateOrCreateThreadWithPidAndName(uint32_t tid, uint32_t pid, std::string_view name); 35 uint32_t GetOrCreateThreadWithPid(uint32_t tid, uint32_t pid); 36 uint32_t UpdateOrCreateThread(uint64_t timeStamp, uint32_t tid); 39 bool IsThreadNameEmpty(uint32_t tid) const; 40 InternalTid GetInternalTid(uint32_t tid) const; 41 std::vector<InternalTid>& GetInternalTids(uint32_t tid); 42 …uint32_t UpdateOrCreateThreadWithNameIndex(uint64_t timeStamp, uint32_t tid, DataIndex threadNameI… 51 std::tuple<uint32_t, TraceStdtype::Thread*> NewThread(uint32_t tid); 54 InternalTid GetInternalTid(uint32_t tid, uint32_t pid) const;
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/frequsage/ |
D | TabPaneFreqUsageConfig.ts | 20 tid: number | string; property in TabPaneFreqUsageConfig 34 tid: number | string, 48 this.tid = tid; 66 tid: number = 0; property in TabPaneRunningConfig 74 tid: number, 82 this.tid = tid;
|
/developtools/smartperf_host/trace_streamer/test/unittest/filter/ |
D | process_filter_test.cpp | 176 uint32_t tid = 123; variable 178 … uint32_t iTid0 = streamFilters_.processFilter_->UpdateOrCreateThreadWithName(ts, tid, threadName); 187 EXPECT_TRUE(thread->tid_ == tid); 204 uint32_t tid = 123; variable 206 … uint32_t iTid0 = streamFilters_.processFilter_->UpdateOrCreateThreadWithName(ts, tid, threadName); 219 uint32_t tid = 123; variable 221 … uint32_t iTid0 = streamFilters_.processFilter_->UpdateOrCreateThreadWithName(ts, tid, threadName); 224 EXPECT_TRUE(thread->tid_ == tid); 237 uint32_t tid = 123; variable 239 … uint32_t iTid0 = streamFilters_.processFilter_->UpdateOrCreateThreadWithName(ts, tid, threadName); [all …]
|
/developtools/smartperf_host/ide/src/trace/database/data-trafic/process/ |
D | ProcessDeliverInputEventDataSender.ts | 19 export function processDeliverInputEventDataSender(tid: number, row: TraceRow<FuncStruct>): Promise… 24 tid: new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT * MAX_COUNT), 49 tid: tid, 60 let tid = new Int32Array(buffers.tid); 66 let parent_id = new Int32Array(buffers.tid); 73 tid: tid[i],
|
D | ThreadDataReceiver.ts | 23 where B.tid = ${args.tid} 34 where B.tid = ${args.tid} 47 where B.tid = ${args.tid} 53 let key = `${data.params.pid}${data.params.tid}`; 82 let tid = new Int32Array(transfer ? res.length : data.params.sharedArrayBuffers.tid); 92 tid[i] = it.tid; 104 tid: tid.buffer, 118 …? [startTime.buffer, dur.buffer, cpu.buffer, id.buffer, tid.buffer, state.buffer, pid.buffer, argS…
|
D | ThreadDataSender.ts | 19 export function threadDataSender(tid: number, pid: number, row: TraceRow<ThreadStruct>): Promise<Th… 28 tid: new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT * MAX_COUNT), 39 tid: tid, 65 let tid = new Int32Array(buffers.tid); 75 tid: tid[i],
|
D | ProcessStartupDataReceiver.ts | 43 let tid = new Int32Array(transfer ? res.length : data.params.sharedArrayBuffers.tid); 51 tid[i] = it.tid || 0; 64 tid: tid.buffer, 72 transfer ? [dur.buffer, startTs.buffer, pid.buffer, tid.buffer, itid.buffer] : []
|
D | ProcessSoInitDataReceiver.ts | 43 let tid = new Int32Array(transfer ? res.length : data.params.sharedArrayBuffers.tid); 52 tid[i] = it.tid || 0; 67 tid: tid.buffer, 75 …transfer ? [dur.buffer, startTs.buffer, pid.buffer, tid.buffer, itid.buffer, depth.buffer, id.buff…
|
D | ProcessDeliverInputEventDataReceiver.ts | 38 and tid = ${args.tid} 55 processDeliverInputEvent.tid[i] = it.tid; 77 tid: processDeliverInputEvent.tid.buffer, 94 processDeliverInputEvent.tid.buffer, 110 tid: Int32Array; property in ProcessDeliverInputEvent 122 this.tid = new Int32Array(transfer ? len : data.params.sharedArrayBuffers.tid);
|
/developtools/smartperf_host/trace_streamer/src/rpc/ |
D | ffrt_converter.cpp | 98 const int tid, in MakeBeginFakeLog() argument 110 …threadName.c_str(), tid, pid, cpuId.c_str(), beginTimeStamp.c_str(), threadName.c_str(), tid, prio, in MakeBeginFakeLog() 119 const int tid, in MakeEndFakeLog() argument 132 threadName.c_str(), tid, prio); in MakeEndFakeLog() 143 const int tid) in ReplaceSchedSwitchLog() argument 148 if (mark.find("prev_pid=" + std::to_string(tid)) != std::string::npos) { in ReplaceSchedSwitchLog() 165 } else if (mark.find("next_pid=" + std::to_string(tid)) != std::string::npos) { in ReplaceSchedSwitchLog() 227 const int tid) in ConvertWorkerLogToTask() argument 231 return ReplaceSchedSwitchLog(fakeLog, mark, pid, label, gid, tid); in ConvertWorkerLogToTask() 247 auto tid = stoi(log.substr(beginPos, endPos - beginPos)); in FindTid() local [all …]
|
D | ffrt_converter.h | 69 int tid, 79 const int tid, 86 const int tid, 94 const int tid); 105 const int tid); 109 void UpdatePrio(int& prio, const std::string& mark, const int tid); 118 const int tid, 124 const int tid,
|
/developtools/hiperf/include/ |
D | perf_record_format.h | 33 u32 tid; /* if PERF_SAMPLE_TID set */ member 63 u32 pid, tid; member 98 u32 tid; member 135 u32 tid; member 146 u32 pid, tid; /* if PERF_SAMPLE_TID */ member 184 u32 tid, ptid; member 208 u32 tid, ptid; member 240 u32 tid; member 275 u32 pid, tid; member 350 u32 tid; member
|
/developtools/smartperf_host/ide/src/trace/bean/ |
D | KeyPathStruct.ts | 17 tid: number; property in KeyPathStruct 21 constructor(tid: number, threadName: string, tsArray: Array<number>) { 22 this.tid = tid;
|
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/hilog/ |
D | TabPaneHilogSummary.test.ts | 35 tid: 1172, 47 tid: 1172, 59 tid: 1172, 71 tid: 1172, 83 tid: 1172, 95 tid: 1172,
|
D | TabPaneHilogs.test.ts | 74 tid: 1172, 86 tid: 1172, 98 tid: 1172, 110 tid: 1172, 122 tid: 1172, 134 tid: 1172, 157 tid: 586,
|
/developtools/smartperf_host/ide/src/trace/database/data-trafic/ |
D | CpuDataSender.ts | 26 tid: new SharedArrayBuffer(Uint16Array.BYTES_PER_ELEMENT * MAX_COUNT), 69 let tid = new Uint16Array(res.tid); 77 tid: tid[i], 94 let tid = new Uint16Array(res.tid); 101 tid: tid[i],
|
D | LogDataReceiver.ts | 65 let tid = new Uint16Array(transfer ? res.length : data.params.sharedArrayBuffers.tid); 73 tid[index] = it.tid; 87 tid: tid.buffer, 95 transfer ? [id.buffer, startTs.buffer, pid.buffer, tid.buffer, dur.buffer, depth.buffer] : []
|
D | HiSysEventDataReceiver.ts | 52 let tid = new Uint16Array(transfer ? res.length : data.params.sharedArrayBuffers.tid); 63 tid[index] = it.tid; 78 tid: tid.buffer, 87 …transfer ? [id.buffer, ts.buffer, pid.buffer, tid.buffer, uid.buffer, dur.buffer, seq.buffer, dept…
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/process/ |
D | TabPaneThreadUsage.ts | 95 if (map.has(resultEl.tid)) { 96 map.get(resultEl.tid)[`cpu${resultEl.cpu}`] = resultEl.wallDuration || 0; 97 … map.get(resultEl.tid)[`cpu${resultEl.cpu}TimeStr`] = getProbablyTime(resultEl.wallDuration || 0); 98 map.get(resultEl.tid)[`cpu${resultEl.cpu}Ratio`] = ( 102 map.get(resultEl.tid).wallDuration = 103 map.get(resultEl.tid).wallDuration + (resultEl.wallDuration || 0); 104 … map.get(resultEl.tid).wallDurationTimeStr = getProbablyTime(map.get(resultEl.tid).wallDuration); 107 let thread = Utils.THREAD_MAP.get(resultEl.tid); 109 tid: resultEl.tid, 127 map.set(resultEl.tid, threadStatesStruct);
|
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/hiperf/ |
D | TabPanePerfAnalysis.test.ts | 247 tid: 174, 256 tid: 871, 265 tid: 28826, 274 tid: 28922, 298 tid: 1, 307 tid: 235, 315 tid: 235, 323 tid: 235, 342 tid: 28922, 352 tid: 28922, [all …]
|
/developtools/profiler/device/plugins/native_daemon/src/ |
D | virtual_runtime.cpp | 62 std::string VirtualRuntime::ReadThreadName(pid_t tid) in ReadThreadName() argument 64 std::string comm = ReadFileToString(StringPrintf("/proc/%d/comm", tid)).c_str(); in ReadThreadName() 70 VirtualThread &VirtualRuntime::UpdateThread(pid_t pid, pid_t tid, const std::string name) in UpdateThread() argument 75 VirtualThread &thread = GetThread(pid, tid); in UpdateThread() 85 VirtualThread &VirtualRuntime::CreateThread(pid_t pid, pid_t tid) in CreateThread() argument 88 userSpaceThreadMap_.emplace(std::piecewise_construct, std::forward_as_tuple(tid), in CreateThread() 89 std::forward_as_tuple(pid, tid, symbolsFiles_, this)); in CreateThread() 90 VirtualThread& thr = userSpaceThreadMap_.at(tid); in CreateThread() 94 VirtualThread &VirtualRuntime::GetThread(pid_t pid, pid_t tid) in GetThread() argument 96 HLOGV("find thread %u:%u", pid, tid); in GetThread() [all …]
|
/developtools/smartperf_host/ide/test/trace/database/ui-worker/ |
D | ProcedureWorkerSoInit.test.ts | 38 tid: 0, 51 tid: 120, 73 tid: 0, 98 tid: 240, 115 tid: 240,
|
/developtools/smartperf_host/ide/test/trace/bean/ |
D | PerfProfile.test.ts | 67 tid: 0, 76 tid: expect.any(Number), 91 tid: 0, 115 tid: expect.any(Number), 169 tid: 0, 187 tid: expect.any(Number), 219 tid: 0, 237 tid: expect.any(Number),
|
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/frequsage/ |
D | TabPaneFreqDataCut.test.ts | 51 tid: 1, 89 {pid: 1, tid: 1, children: []}, 90 {pid: 2, tid: 2, children: []}, 93 {pid: 1, tid: 1}, 97 {pid: 1, tid: 1, children: [{pid: 1, tid: 1, thread: 'TotalData'}]}, 98 {pid: 2, tid: 2, children: []},
|