| /developtools/profiler/host/smartperf/trace_streamer/src/filter/ |
| D | frame_filter.cpp | 28 uint32_t itid, in BeginVsyncEvent() argument 42 … traceDataCache_->GetFrameSliceData()->AppendFrame(ts, ipid, itid, vsyncId, callStackSliceId); in BeginVsyncEvent() 44 …expectStart, ipid, itid, vsyncId, callStackSliceId, expectEnd, (uint8_t)TraceStdtype::FrameSlice::… in BeginVsyncEvent() 45 if (vsyncRenderSlice_.count(itid)) { in BeginVsyncEvent() 46 vsyncRenderSlice_[itid].push_back(frame); in BeginVsyncEvent() 50 vsyncRenderSlice_[itid] = frameVec; in BeginVsyncEvent() 54 bool FrameFilter::MarkRSOnvsyncEvent(uint64_t ts, uint32_t itid) in MarkRSOnvsyncEvent() argument 56 auto frame = vsyncRenderSlice_.find(itid); in MarkRSOnvsyncEvent() 58 TS_LOGW("BeginOnvsyncEvent find for itid:%u failed, ts:%llu", itid, ts); in MarkRSOnvsyncEvent() 62 TS_LOGW("BeginOnvsyncEvent find for itid:%u failed", itid); in MarkRSOnvsyncEvent() [all …]
|
| D | frame_filter.h | 31 uint32_t itid, 36 bool MarkRSOnvsyncEvent(uint64_t ts, uint32_t itid); 37 bool EndOnVsyncEvent(uint64_t ts, uint32_t itid); 38 bool BeginRSTransactionData(uint64_t ts, uint32_t itid, uint32_t franeNum); 43 …bool BeginProcessCommandUni(uint64_t ts, uint32_t itid, const std::vector<FrameMap>& frame, uint32… 44 bool EndVsyncEvent(uint64_t ts, uint32_t itid); 45 bool StartFrameQueue(uint64_t ts, uint32_t itid); 46 bool EndFrameQueue(uint64_t ts, uint32_t itid);
|
| D | process_filter.h | 44 void AddThreadSliceNum(uint32_t itid); 45 void AddCpuStateCount(uint32_t itid);
|
| D | process_filter.cpp | 48 void ProcessFilter::AddThreadSliceNum(uint32_t itid) in AddThreadSliceNum() argument 50 traceDataCache_->GetThreadData(itid)->sliceSize_ = 1; in AddThreadSliceNum() 57 void ProcessFilter::AddCpuStateCount(uint32_t itid) in AddCpuStateCount() argument 59 auto thread = traceDataCache_->GetThreadData(itid); in AddCpuStateCount()
|
| /developtools/smartperf_host/trace_streamer/src/filter/ |
| D | frame_filter.cpp | 29 uint32_t itid, in BeginVsyncEvent() argument 43 … traceDataCache_->GetFrameSliceData()->AppendFrame(ts, ipid, itid, vsyncId, callStackSliceId); in BeginVsyncEvent() 45 …expectStart, ipid, itid, vsyncId, callStackSliceId, expectEnd, (uint8_t)TraceStdtype::FrameSlice::… in BeginVsyncEvent() 46 if (vsyncRenderSlice_.count(itid)) { in BeginVsyncEvent() 47 vsyncRenderSlice_[itid].push_back(frame); in BeginVsyncEvent() 51 vsyncRenderSlice_[itid] = frameVec; in BeginVsyncEvent() 55 bool FrameFilter::MarkRSOnvsyncEvent(uint64_t ts, uint32_t itid) in MarkRSOnvsyncEvent() argument 57 auto frame = vsyncRenderSlice_.find(itid); in MarkRSOnvsyncEvent() 59 TS_LOGW("BeginOnvsyncEvent find for itid:%u failed, ts:%" PRIu64 "", itid, ts); in MarkRSOnvsyncEvent() 63 TS_LOGW("BeginOnvsyncEvent find for itid:%u failed", itid); in MarkRSOnvsyncEvent() [all …]
|
| D | frame_filter.h | 31 uint32_t itid, 36 bool MarkRSOnvsyncEvent(uint64_t ts, uint32_t itid); 37 bool EndOnVsyncEvent(uint64_t ts, uint32_t itid); 38 bool BeginRSTransactionData(uint64_t ts, uint32_t itid, uint32_t franeNum); 43 …bool BeginProcessCommandUni(uint64_t ts, uint32_t itid, const std::vector<FrameMap>& frame, uint32… 44 bool EndVsyncEvent(uint64_t ts, uint32_t itid); 45 bool StartFrameQueue(uint64_t ts, uint32_t itid); 46 bool EndFrameQueue(uint64_t ts, uint32_t itid);
|
| D | process_filter.h | 44 void AddThreadSliceNum(uint32_t itid); 45 void AddCpuStateCount(uint32_t itid);
|
| /developtools/smartperf_host/ide/test/trace/database/ui-worker/ |
| D | ProcedureWorkerSoInit.test.ts | 44 itid: 42, 57 itid: 22, 79 itid: 2, 104 itid: 2, 121 itid: 2,
|
| /developtools/smartperf_host/trace_streamer/test/unittest/ |
| D | cpu_filter_test.cpp | 52 uint64_t itid = 1; variable 53 streamFilters_.cpuFilter_->InsertWakeupEvent(ts1, itid); // 1st waking 55 EXPECT_TRUE(streamFilters_.cpuFilter_->RowOfInternalTidInStateTable(itid) == INVALID_UINT64); 56 EXPECT_TRUE(streamFilters_.cpuFilter_->StateOfInternalTidInStateTable(itid) == TASK_INVALID); 259 uint64_t itid = 2; variable 261 streamFilters_.cpuFilter_->InsertWakeupEvent(ts1, itid); 263 EXPECT_TRUE(streamFilters_.cpuFilter_->StateOfInternalTidInStateTable(itid) == TASK_INVALID); 264 EXPECT_TRUE(streamFilters_.cpuFilter_->RowOfInternalTidInStateTable(itid) == INVALID_UINT64); 277 uint64_t itid = 2; variable 279 streamFilters_.cpuFilter_->InsertWakeupEvent(ts1, itid); [all …]
|
| D | process_filter_test.cpp | 291 auto itid = streamFilters_.processFilter_->GetInternalTid(tid); variable 292 EXPECT_TRUE(itid != INVALID_ID); 294 Thread* thread = traceDataCache_.GetThreadData(itid); 311 auto itid = streamFilters_.processFilter_->GetInternalTid(tid2); variable 312 EXPECT_TRUE(itid == INVALID_ID); 327 auto itid = streamFilters_.processFilter_->GetInternalPid(pid); variable 328 EXPECT_TRUE(itid != INVALID_ID); 344 auto itid = streamFilters_.processFilter_->GetInternalPid(pid1); variable 345 EXPECT_TRUE(itid == INVALID_ID); 361 auto itid = streamFilters_.processFilter_->GetInternalTid(tid); variable [all …]
|
| D | measure_filter_test.cpp | 246 uint64_t itid = 1; variable 250 threadMeasureFilter->AppendNewMeasureData(itid, nameIndex0, 168758682476000, 1200); 263 uint64_t itid = 1; variable 267 threadMeasureFilter->AppendNewMeasureData(itid, nameIndex0, 168758682476000, 1200); 270 threadMeasureFilter->AppendNewMeasureData(itid, nameIndex1, 168758682477000, 9200); 283 uint64_t itid = 1; variable 288 threadMeasureFilter->AppendNewMeasureData(itid, nameIndex0, 168758682476000, 1200);
|
| /developtools/profiler/host/smartperf/doc/ |
| D | des_tables.md | 38 Process和Thread表中的id字段可以唯一标识进程和线程。process表中的id在其他表中用作ipid字段。thread表中的id在其他表中用作itid字段。 47 …_state表记录所有线程的运行状态信息,包含ts(状态起始时间),dur(状态持续时间),cpu, itid, state(线程状态)。 thread表的id字段与thread_state表的i… 50 …t thread_state.* from thread, thread_state where thread.tid = 123 and thread.id = thread_state.itid 55 heap表记录堆内存申请(AllocEvent)和释放(FreeEvent)数据。heap表通过ipid和itid字段分别与process和thread表的id字段关联,通过eventId与heap… 63 select heap.* from thread, heap where thread.tid = 123 and thread.id = heap.itid 126 |itid |INT | 133 itid: 该状态所属的线程所属的进程id, 关联进程表中的ID 168 |itid |INT | 214 |itid |INT |
|
| /developtools/profiler/host/smartperf/trace_streamer/src/parser/ebpf_parser/ |
| D | bio_latency_data_parser.cpp | 62 uint32_t itid = in ParseBioLatencyEvent() local 88 auto pathId = tracerEventToStrIndexMap.Find(ITEM_EVENT_BIO, type, itid, startTs); in ParseBioLatencyEvent() 90 tracerEventToStrIndexMap.Erase(ITEM_EVENT_FS, type, itid, startTs); in ParseBioLatencyEvent() 93 …currentCallId_, type, ipid, itid, newStartTs, newEndTs, duration, prio, size, blkCount, pathId, du… in ParseBioLatencyEvent()
|
| D | file_system_data_parser.cpp | 73 uint32_t itid = in ParseFileSystemEvent() local 106 …tracerEventToStrIndexMap.Find(ITEM_EVENT_FS, fsFixedHeadrAddr->type, itid, fsFixedHeadrAddr->start… in ParseFileSystemEvent() 108 …tracerEventToStrIndexMap.Erase(ITEM_EVENT_FS, fsFixedHeadrAddr->type, itid, fsFixedHeadrAddr->star… in ParseFileSystemEvent() 118 …currentCallId_, type, ipid, itid, newStartTs, newEndTs, duration, returnValue, errorCode, size, fd, in ParseFileSystemEvent()
|
| D | paged_memory_data_parser.cpp | 65 …uint32_t itid = streamFilters_->processFilter_->GetOrCreateThreadWithPid(pagedMemoryFixedHeadrAddr… in ParsePagedMemoryEvent() local 85 duration, size, addr, itid); in ParsePagedMemoryEvent()
|
| /developtools/smartperf_host/trace_streamer/src/parser/ebpf_parser/ |
| D | bio_latency_data_parser.cpp | 63 uint32_t itid = in ParseBioLatencyEvent() local 89 auto pathId = tracerEventToStrIndexMap.Find(ITEM_EVENT_BIO, type, itid, startTs); in ParseBioLatencyEvent() 91 tracerEventToStrIndexMap.Erase(ITEM_EVENT_FS, type, itid, startTs); in ParseBioLatencyEvent() 94 …currentCallId_, type, ipid, itid, newStartTs, newEndTs, duration, prio, size, blkCount, pathId, du… in ParseBioLatencyEvent()
|
| D | file_system_data_parser.cpp | 74 uint32_t itid = in ParseFileSystemEvent() local 107 …tracerEventToStrIndexMap.Find(ITEM_EVENT_FS, fsFixedHeadrAddr->type, itid, fsFixedHeadrAddr->start… in ParseFileSystemEvent() 109 …tracerEventToStrIndexMap.Erase(ITEM_EVENT_FS, fsFixedHeadrAddr->type, itid, fsFixedHeadrAddr->star… in ParseFileSystemEvent() 119 …currentCallId_, type, ipid, itid, newStartTs, newEndTs, duration, returnValue, errorCode, size, fd, in ParseFileSystemEvent()
|
| D | paged_memory_data_parser.cpp | 66 …uint32_t itid = streamFilters_->processFilter_->GetOrCreateThreadWithPid(pagedMemoryFixedHeadrAddr… in ParsePagedMemoryEvent() local 86 duration, size, addr, itid); in ParsePagedMemoryEvent()
|
| /developtools/smartperf_host/ide/src/doc/md/ |
| D | des_tables.md | 140 Process和Thread表中的id字段可以唯一标识进程和线程。process表中的id在其他表中用作ipid字段。thread表中的id在其他表中用作itid字段。 148 …_state表记录所有线程的运行状态信息,包含ts(状态起始时间),dur(状态持续时间),cpu, itid, state(线程状态)。 thread表的id字段与thread_state表的i… 152 …hread_state.* from thread, thread_state where thread.tid = 123 and thread.id = thread_state.itid``` 155 native_hook表记录堆内存申请(AllocEvent)和释放(FreeEvent)数据。native_hook表通过ipid和itid字段分别与process和thread表的id字段关联,… 169 …t native_hook.* from thread, native_hook where thread.tid = 123 and thread.id = native_hook.itid``` 277 |itid |INT | 292 - itid:TS内部线程号 466 |itid |INT | 547 - wakeup_from:唤醒当前线程的内部线程号(itid) 548 - ref_type:描述了value字段的类型(一般取值为itid) [all …]
|
| /developtools/profiler/host/smartperf/trace_streamer/doc/ |
| D | des_tables.md | 140 Process和Thread表中的id字段可以唯一标识进程和线程。process表中的id在其他表中用作ipid字段。thread表中的id在其他表中用作itid字段。 148 …_state表记录所有线程的运行状态信息,包含ts(状态起始时间),dur(状态持续时间),cpu, itid, state(线程状态)。 thread表的id字段与thread_state表的i… 152 …hread_state.* from thread, thread_state where thread.tid = 123 and thread.id = thread_state.itid``` 155 native_hook表记录堆内存申请(AllocEvent)和释放(FreeEvent)数据。native_hook表通过ipid和itid字段分别与process和thread表的id字段关联,… 169 …t native_hook.* from thread, native_hook where thread.tid = 123 and thread.id = native_hook.itid``` 277 |itid |INT | 292 - itid:TS内部线程号 466 |itid |INT | 547 - wakeup_from:唤醒当前线程的内部线程号(itid) 548 - ref_type:描述了value字段的类型(一般取值为itid) [all …]
|
| /developtools/profiler/host/smartperf/ide/src/doc/md/ |
| D | des_tables.md | 140 Process和Thread表中的id字段可以唯一标识进程和线程。process表中的id在其他表中用作ipid字段。thread表中的id在其他表中用作itid字段。 148 …_state表记录所有线程的运行状态信息,包含ts(状态起始时间),dur(状态持续时间),cpu, itid, state(线程状态)。 thread表的id字段与thread_state表的i… 152 …hread_state.* from thread, thread_state where thread.tid = 123 and thread.id = thread_state.itid``` 155 native_hook表记录堆内存申请(AllocEvent)和释放(FreeEvent)数据。native_hook表通过ipid和itid字段分别与process和thread表的id字段关联,… 169 …t native_hook.* from thread, native_hook where thread.tid = 123 and thread.id = native_hook.itid``` 277 |itid |INT | 292 - itid:TS内部线程号 466 |itid |INT | 547 - wakeup_from:唤醒当前线程的内部线程号(itid) 548 - ref_type:描述了value字段的类型(一般取值为itid) [all …]
|
| /developtools/profiler/host/smartperf/ide/src/trace/bean/ |
| D | StateProcessThread.ts | 68 itid: number = 0; property in ThreadState 86 itid: number = 0; property in SptSlice
|
| D | WakeupBean.ts | 26 itid: number | undefined; property in WakeupBean
|
| /developtools/smartperf_host/trace_streamer/doc/ |
| D | des_tables.md | 162 Process和Thread表中的id字段可以唯一标识进程和线程。process表中的id在其他表中用作ipid字段。thread表中的id在其他表中用作itid字段。 170 …_state表记录所有线程的运行状态信息,包含ts(状态起始时间),dur(状态持续时间),cpu, itid, state(线程状态)。 thread表的id字段与thread_state表的i… 174 …hread_state.* from thread, thread_state where thread.tid = 123 and thread.id = thread_state.itid``` 177 native_hook表记录堆内存申请(AllocEvent)和释放(FreeEvent)数据。native_hook表通过ipid和itid字段分别与process和thread表的id字段关联,… 191 …t native_hook.* from thread, native_hook where thread.tid = 123 and thread.id = native_hook.itid``` 299 |itid |INT | 314 - itid:TS内部线程号 488 |itid |INT | 569 - wakeup_from:唤醒当前线程的内部线程号(itid) 570 - ref_type:描述了value字段的类型(一般取值为itid) [all …]
|
| /developtools/smartperf_host/ide/src/trace/bean/ |
| D | WakeupBean.ts | 25 itid: number | undefined; property in WakeupBean
|