Home
last modified time | relevance | path

Searched refs:tid (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/developtools/profiler/host/smartperf/trace_streamer/src/filter/
Dprocess_filter.cpp37 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 …]
Dprocess_filter.h33 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;
Dbinder_filter.cpp55 uint32_t tid, in SendTraction() argument
75 argsSend.AppendArg(callingTid_, BASE_DATA_TYPE_INT, tid); in SendTraction()
79 if (transReplyFilter_.count(tid) && transReplyFilter_[tid] == destTid) { in SendTraction()
86 (void)streamFilters_->sliceFilter_->AddArgs(tid, binderCatalogId_, replyId_, destArgs); in SendTraction()
87 transReplyFilter_.erase(tid); in SendTraction()
90 … (void)streamFilters_->sliceFilter_->EndBinder(ts, tid, INVALID_UINT64, INVALID_UINT64, argsSend); in SendTraction()
97 …(void)streamFilters_->sliceFilter_->BeginBinder(ts, tid, binderCatalogId_, transSliceId_, argsSend… in SendTraction()
98 transNeedReply_[transactionId] = tid; in SendTraction()
103 …(void)streamFilters_->sliceFilter_->AsyncBinder(ts, tid, binderCatalogId_, transAsyncId_, argsSend… in SendTraction()
/developtools/smartperf_host/trace_streamer/src/filter/
Dprocess_filter.cpp37 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 …]
Dprocess_filter.h33 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;
Dbinder_filter.cpp55 uint32_t tid, in SendTraction() argument
75 argsSend.AppendArg(callingTid_, BASE_DATA_TYPE_INT, tid); in SendTraction()
79 if (transReplyFilter_.count(tid) && transReplyFilter_[tid] == destTid) { in SendTraction()
86 (void)streamFilters_->sliceFilter_->AddArgs(tid, binderCatalogId_, replyId_, destArgs); in SendTraction()
87 transReplyFilter_.erase(tid); in SendTraction()
90 … (void)streamFilters_->sliceFilter_->EndBinder(ts, tid, INVALID_UINT64, INVALID_UINT64, argsSend); in SendTraction()
97 …(void)streamFilters_->sliceFilter_->BeginBinder(ts, tid, binderCatalogId_, transSliceId_, argsSend… in SendTraction()
98 transNeedReply_[transactionId] = tid; in SendTraction()
103 …(void)streamFilters_->sliceFilter_->AsyncBinder(ts, tid, binderCatalogId_, transAsyncId_, argsSend… in SendTraction()
/developtools/smartperf_host/trace_streamer/test/unittest/
Dprocess_filter_test.cpp176 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/component/trace/sheet/process/
DTabPaneThreadUsage.ts74 if (map.has(resultEl.tid)) {
75 map.get(resultEl.tid)[`cpu${resultEl.cpu}`] = resultEl.wallDuration || 0;
76 … map.get(resultEl.tid)[`cpu${resultEl.cpu}TimeStr`] = getProbablyTime(resultEl.wallDuration || 0);
77 map.get(resultEl.tid)[`cpu${resultEl.cpu}Ratio`] = (
81 map.get(resultEl.tid)[`wallDuration`] =
82 map.get(resultEl.tid)[`wallDuration`] + (resultEl.wallDuration || 0);
83 …map.get(resultEl.tid)[`wallDurationTimeStr`] = getProbablyTime(map.get(resultEl.tid)[`wallDuration…
86 let thread = Utils.THREAD_MAP.get(resultEl.tid);
88 tid: resultEl.tid,
106 map.set(resultEl.tid, threadStatesStruct);
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/process/
DTabPaneThreadUsage.ts74 if (map.has(resultEl.tid)) {
75 map.get(resultEl.tid)[`cpu${resultEl.cpu}`] = resultEl.wallDuration || 0;
76 … map.get(resultEl.tid)[`cpu${resultEl.cpu}TimeStr`] = getProbablyTime(resultEl.wallDuration || 0);
77 map.get(resultEl.tid)[`cpu${resultEl.cpu}Ratio`] = (
81 map.get(resultEl.tid)[`wallDuration`] =
82 map.get(resultEl.tid)[`wallDuration`] + (resultEl.wallDuration || 0);
83 …map.get(resultEl.tid)[`wallDurationTimeStr`] = getProbablyTime(map.get(resultEl.tid)[`wallDuration…
86 let thread = Utils.THREAD_MAP.get(resultEl.tid);
88 tid: resultEl.tid,
106 map.set(resultEl.tid, threadStatesStruct);
/developtools/hiperf/include/
Dperf_record_format.h32 u32 tid; /* if PERF_SAMPLE_TID set */ member
62 u32 pid, tid; member
97 u32 tid; member
134 u32 tid; member
145 u32 pid, tid; /* if PERF_SAMPLE_TID */ member
181 u32 tid, ptid; member
205 u32 tid, ptid; member
237 u32 tid; member
272 u32 pid, tid; member
347 u32 tid; member
/developtools/profiler/device/plugins/native_daemon/src/
Dvirtual_runtime.cpp61 std::string VirtualRuntime::ReadThreadName(pid_t tid) in ReadThreadName() argument
63 std::string comm = ReadFileToString(StringPrintf("/proc/%d/comm", tid)).c_str(); in ReadThreadName()
69 VirtualThread &VirtualRuntime::UpdateThread(pid_t pid, pid_t tid, const std::string name) in UpdateThread() argument
74 VirtualThread &thread = GetThread(pid, tid); in UpdateThread()
84 VirtualThread &VirtualRuntime::CreateThread(pid_t pid, pid_t tid) in CreateThread() argument
87 userSpaceThreadMap_.emplace(std::piecewise_construct, std::forward_as_tuple(tid), in CreateThread()
88 std::forward_as_tuple(pid, tid, symbolsFiles_, this)); in CreateThread()
89 VirtualThread& thr = userSpaceThreadMap_.at(tid); in CreateThread()
93 VirtualThread &VirtualRuntime::GetThread(pid_t pid, pid_t tid) in GetThread() argument
95 HLOGV("find thread %u:%u", pid, tid); in GetThread()
[all …]
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/hiperf/
DTabPanePerfAnalysis.test.ts236 tid: 174,
245 tid: 871,
254 tid: 28826,
263 tid: 28922,
287 tid: 1,
296 tid: 235,
304 tid: 235,
312 tid: 235,
331 tid: 28922,
341 tid: 28922,
[all …]
/developtools/smartperf_host/ide/test/base-ui/chart/column/
DLitChartColumn.test.ts50 tid: 332,
59 tid: 21,
89 <div>tid:${a[0].obj.tid}</div>
104 tid: 32,
113 tid: 22,
/developtools/smartperf_host/ide/test/trace/database/ui-worker/
DProcedureWorkerSoInit.test.ts41 tid: 0,
54 tid: 120,
76 tid: 0,
101 tid: 240,
118 tid: 240,
/developtools/smartperf_host/ide/test/trace/bean/
DPerfProfile.test.ts68 tid: 0,
77 tid: expect.any(Number),
92 tid: 0,
116 tid: expect.any(Number),
170 tid: 0,
188 tid: expect.any(Number),
220 tid: 0,
238 tid: expect.any(Number),
/developtools/hiperf/src/
Dvirtual_runtime.cpp41 std::string VirtualRuntime::ReadThreadName(pid_t tid, bool isThread) in ReadThreadName() argument
45 comm = ReadFileToString(StringPrintf("/proc/%d/comm", tid)).c_str(); in ReadThreadName()
47 comm = ReadFileToString(StringPrintf("/proc/%d/cmdline", tid)).c_str(); in ReadThreadName()
54 VirtualThread &VirtualRuntime::UpdateThread(pid_t pid, pid_t tid, const std::string name) in UpdateThread() argument
59 VirtualThread &thread = GetThread(pid, tid); in UpdateThread()
69 VirtualThread &VirtualRuntime::CreateThread(pid_t pid, pid_t tid) in CreateThread() argument
72 if (pid == tid) { in CreateThread()
73 userSpaceThreadMap_.emplace(std::piecewise_construct, std::forward_as_tuple(tid), in CreateThread()
78 std::piecewise_construct, std::forward_as_tuple(tid), in CreateThread()
79 std::forward_as_tuple(pid, tid, GetThread(pid, pid), symbolsFiles_)); in CreateThread()
[all …]
/developtools/smartperf_host/ide/test/trace/component/schedulingAnalysis/
DTop20ThreadCpuUsage.test.ts37 tid: 311,
58 tid: 224,
80 tid: 43,
96 tid: 543,
112 tid: 87,
/developtools/smartperf_host/ide/src/trace/component/metrics/
DSysCallsTopStrategy.ts19 tid: string;
32 let tidList = metricData[sqlIndex].tid;
41 tid: tidList,
67 tid: string; property
/developtools/profiler/host/smartperf/ide/src/trace/component/metrics/
DSysCallsTopStrategy.ts19 tid: string;
32 let tidList = metricData[sqlIndex].tid;
41 tid: tidList,
67 tid: string; property
/developtools/profiler/device/plugins/cpu_plugin/src/
Dcpu_data_plugin.cpp122 while (int32_t tid = GetValidTid(procDir)) { in WriteProcnum() local
123 if (tid <= 0) { in WriteProcnum()
125 HILOG_WARN(LOG_CORE, "%s: get pid[%d] failed", __func__, tid); in WriteProcnum()
492 bool CpuDataPlugin::addTidBySort(int32_t tid) in addTidBySort() argument
495 auto it = std::lower_bound(tidVec_.begin(), tidsEnd, tid); in addTidBySort()
496 CHECK_TRUE(!(it != tidsEnd && *it == tid), false, "addTidBySort failed"); in addTidBySort()
497 it = tidVec_.insert(it, std::move(tid)); in addTidBySort()
519 int32_t tid = atoi(dirEnt->d_name); in GetValidTid() local
520 if (tid) { in GetValidTid()
521 return tid; in GetValidTid()
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/bean/
DPerfProfile.ts37 tid: number = 0; property in PerfThread
50 tid: number = 0; property in PerfCallChain
88 tid: number = 0; property in PerfCallChainMerageData
109 tid: number = 0; property in PerfSample
/developtools/smartperf_host/ide/src/trace/bean/
DPerfProfile.ts37 tid: number = 0; property in PerfThread
50 tid: number = 0; property in PerfCallChain
78 tid: number = 0; property in PerfCallChainMerageData
109 tid: number = 0; property in PerfSample
/developtools/ace_js2bundle/ace-loader/test/card/testError/pages/for/
Dfor.hml6 <div for="{{array}}" tid="id">
9 <div for="{{value in array}}" tid="id">
12 <div for="{{(i, v) in array}}" tid="id">
/developtools/profiler/host/smartperf/ide/src/trace/database/logic-worker/
DProcedureLogicWorkerSchedulingAnalysis.ts216 it.tName = this.threadMap.get(it.tid) || 'null';
243 it.tName = this.threadMap.get(it.tid) || 'null';
259 this.queryThreadStateByTid(data.params.tid);
440 queryThreadStateByTid(tid: number) {
445 and tid = ${tid}
649 tid: number;
660 tid: number;
677 if (map.has(tf.tid)) {
678 map.get(tf.tid)!.dur = map.get(tf.tid)!.dur + dur;
679 map.get(tf.tid)!.durStr = getProbablyTime(map.get(tf.tid)!.dur);
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/base/
DColorUtils.ts90 …let tid: number | undefined | null = (thread.processId || -1) >= 0 ? thread.processId : thread.tid;
91 return ColorUtils.colorForTid(tid || 0);
94 public static colorForTid(tid: number): string {
95 let colorIdx: number = ColorUtils.hash(`${tid}`, ColorUtils.MD_PALETTE.length);

12345678910>>...12