/developtools/smartperf_host/trace_streamer/src/filter/ |
D | measure_filter.cpp | 30 bool MeasureFilter::AppendNewMeasureData(uint64_t internalTid, DataIndex nameIndex, uint64_t timeSt… in AppendNewMeasureData() argument 32 auto filterId = GetOrCreateFilterId(internalTid, nameIndex); in AppendNewMeasureData() 48 uint32_t MeasureFilter::GetOrCreateFilterId(uint64_t internalTid, DataIndex nameIndex) in GetOrCreateFilterId() argument 50 auto filterId = tidStreamIdFilterIdMap_.Find(internalTid, nameIndex); in GetOrCreateFilterId() 56 filterTypeValue.at(filterType_), traceDataCache_->GetDataFromDict(nameIndex), internalTid); in GetOrCreateFilterId() 57 AddCertainFilterId(internalTid, nameIndex, newFilterId); in GetOrCreateFilterId() 61 void MeasureFilter::AddCertainFilterId(uint64_t internalTid, DataIndex nameIndex, uint64_t filterId) in AddCertainFilterId() argument 63 tidStreamIdFilterIdMap_.Insert(internalTid, nameIndex, filterId); in AddCertainFilterId() 67 …ic_cast<uint32_t>(filterId), static_cast<uint32_t>(nameIndex), static_cast<uint32_t>(internalTid)); in AddCertainFilterId() 69 …e_->GetCpuMeasuresData()->AppendNewFilter(filterId, static_cast<uint32_t>(nameIndex), internalTid); in AddCertainFilterId() [all …]
|
D | process_filter.cpp | 70 uint32_t internalTid = GetOrCreateThreadWithPid(tid, pid); in UpdateOrCreateThreadWithPidAndName() local 71 auto thread = traceDataCache_->GetThreadData(internalTid); in UpdateOrCreateThreadWithPidAndName() 78 return internalTid; in UpdateOrCreateThreadWithPidAndName() 84 uint32_t internalTid; in GetOrCreateThreadWithPid() local 86 internalTid = GetInternalTid(tid); in GetOrCreateThreadWithPid() 88 internalTid = GetInternalTid(tid, pid); in GetOrCreateThreadWithPid() 90 if (internalTid != INVALID_ID) { in GetOrCreateThreadWithPid() 91 thread = traceDataCache_->GetThreadData(internalTid); in GetOrCreateThreadWithPid() 93 std::tie(internalTid, thread) = NewThread(tid); in GetOrCreateThreadWithPid() 100 return internalTid; in GetOrCreateThreadWithPid() [all …]
|
D | slice_filter.cpp | 46 InternalTid internalTid = INVALID_ITID; in BeginSlice() local 48 …internalTid = streamFilters_->processFilter_->UpdateOrCreateThreadWithPidAndName(pid, threadGroupI… in BeginSlice() 51 … internalTid = streamFilters_->processFilter_->UpdateOrCreateThreadWithName(timeStamp, pid, comm); in BeginSlice() 54 SliceData sliceData = {timeStamp, -1, internalTid, cat, nameIndex}; in BeginSlice() 66 sliceData.timeStamp, sliceData.duration, sliceData.internalTid, sliceData.cat, in IrqHandlerEntry() 107 sliceData.timeStamp, sliceData.duration, sliceData.internalTid, sliceData.cat, in IpiHandlerEntry() 135 sliceData.timeStamp, sliceData.duration, sliceData.internalTid, sliceData.cat, in SoftIrqEntry() 162 void SliceFilter::RememberSliceData(InternalTid internalTid, in RememberSliceData() argument 168 if (stackMap.find(internalTid) == stackMap.end()) { in RememberSliceData() 169 …auto& sliceStack = stackMap[internalTid].sliceStack; // this can be a empty call, but it does not … in RememberSliceData() [all …]
|
D | cpu_filter.cpp | 242 void CpuFilter::InsertWakeupEvent(uint64_t ts, uint32_t internalTid, bool isWaking) in InsertWakeupEvent() argument 244 if (!isWaking && !toRunnableTid_.count(internalTid)) { in InsertWakeupEvent() 245 toRunnableTid_[internalTid] = ts; in InsertWakeupEvent() 281 void CpuFilter::CheckWakeupEvent(uint32_t internalTid) in CheckWakeupEvent() argument 283 if (toRunnableTid_.count(internalTid)) { in CheckWakeupEvent() 284 uint64_t lastrow = RowOfInternalTidInStateTable(internalTid); in CheckWakeupEvent() 285 auto lastState = StateOfInternalTidInStateTable(internalTid); in CheckWakeupEvent() 287 toRunnableTid_.erase(internalTid); in CheckWakeupEvent() 292 toRunnableTid_.at(internalTid)); in CheckWakeupEvent() 295 toRunnableTid_.at(internalTid), INVALID_TIME, INVALID_CPU, internalTid, TASK_RUNNABLE); in CheckWakeupEvent() [all …]
|
D | measure_filter.h | 47 …bool AppendNewMeasureData(uint64_t internalTid, DataIndex nameIndex, uint64_t timeStamp, int64_t v… 48 uint32_t GetOrCreateFilterId(uint64_t internalTid, DataIndex nameIndex); 51 void AddCertainFilterId(uint64_t internalTid, DataIndex nameIndex, uint64_t filterId);
|
D | slice_filter.h | 33 InternalTid internalTid; member 105 void RememberSliceData(InternalTid internalTid, 110 uint8_t UpdateDepth(bool increase, InternalTid internalTid, int32_t depth = -1); 113 uint8_t CurrentDepth(InternalTid internalTid);
|
D | cpu_filter.h | 55 void InsertWakeupEvent(uint64_t ts, uint32_t internalTid, bool isWaking = false); 70 void CheckWakeupEvent(uint32_t internalTid);
|
D | binder_filter.cpp | 110 InternalTid internalTid = streamFilters_->processFilter_->UpdateOrCreateThread(ts, pid); in ReceiveTraction() local 111 const auto threadName = traceDataCache_->GetConstThreadData(internalTid).nameIndex_; in ReceiveTraction()
|
/developtools/smartperf_host/trace_streamer/src/trace_data/trace_stdtype/ftrace/ |
D | callstack_stdtype.cpp | 21 InternalTid internalTid, in AppendInternalAsyncSlice() argument 29 AppendCommonInfo(startT, durationNs, internalTid); in AppendInternalAsyncSlice() 39 InternalTid internalTid, in AppendInternalSlice() argument 46 AppendCommonInfo(startT, durationNs, internalTid); in AppendInternalSlice() 55 void CallStack::AppendCommonInfo(uint64_t startT, uint64_t durationNs, InternalTid internalTid) in AppendCommonInfo() argument 59 callIds_.emplace_back(internalTid); in AppendCommonInfo()
|
D | sched_stdtype.cpp | 123 uint32_t internalTid, in AppendSchedSlice() argument 131 internalTids_.emplace_back(internalTid); in AppendSchedSlice() 161 size_t Raw::AppendRawData(uint64_t timeStamp, uint32_t name, uint32_t cpu, uint32_t internalTid) in AppendRawData() argument 167 internalTids_.emplace_back(internalTid); in AppendRawData() 173 int64_t internalTid, in AppendInstantEventData() argument 176 internalTids_.emplace_back(internalTid); in AppendInstantEventData()
|
D | callstack_stdtype.h | 26 InternalTid internalTid, 35 InternalTid internalTid, 97 void AppendCommonInfo(uint64_t startT, uint64_t durationNs, InternalTid internalTid);
|
D | sched_stdtype.h | 103 uint32_t internalTid, 162 size_t AppendRawData(uint64_t timeStamp, uint32_t name, uint32_t cpu, uint32_t internalTid); 191 int64_t internalTid,
|
/developtools/smartperf_host/trace_streamer/src/trace_data/ |
D | trace_data_cache_reader.cpp | 36 const Thread& TraceDataCacheReader::GetConstThreadData(InternalTid internalTid) const in GetConstThreadData() 38 TS_ASSERT(internalTid < internalThreadsData_.size()); in GetConstThreadData() 39 return internalThreadsData_[internalTid]; in GetConstThreadData()
|
D | trace_data_cache_writer.cpp | 47 Thread* TraceDataCacheWriter::GetThreadData(InternalTid internalTid) in GetThreadData() argument 49 if (internalTid >= internalThreadsData_.size()) { in GetThreadData() 52 return &internalThreadsData_[internalTid]; in GetThreadData()
|
D | trace_data_cache_reader.h | 52 const Thread& GetConstThreadData(InternalTid internalTid) const;
|
D | trace_data_cache_writer.h | 37 Thread* GetThreadData(InternalTid internalTid);
|
/developtools/smartperf_host/trace_streamer/src/parser/rawtrace_parser/ |
D | cpu_detail_parser.cpp | 259 InternalTid internalTid = in SchedWakeupEvent() local 263 …instants->AppendInstantEventData(event.msgPtr->timestamp(), schedWakeupIndex_, internalTid, wakeup… in SchedWakeupEvent() 264 streamFilters_->cpuFilter_->InsertWakeupEvent(event.msgPtr->timestamp(), internalTid); in SchedWakeupEvent() 266 internalTid); in SchedWakeupEvent() 274 auto internalTid = in SchedWakingEvent() local 277 streamFilters_->cpuFilter_->InsertWakeupEvent(event.msgPtr->timestamp(), internalTid, true); in SchedWakingEvent() 278 …instants->AppendInstantEventData(event.msgPtr->timestamp(), schedWakingIndex_, internalTid, wakeup… in SchedWakingEvent() 288 auto internalTid = in SchedWakeupNewEvent() local 291 …instants->AppendInstantEventData(event.msgPtr->timestamp(), schedWakeupNewIndex_, internalTid, wak… in SchedWakeupNewEvent() 292 streamFilters_->cpuFilter_->InsertWakeupEvent(event.msgPtr->timestamp(), internalTid); in SchedWakeupNewEvent() [all …]
|
/developtools/smartperf_host/trace_streamer/src/parser/htrace_pbreader_parser/htrace_event_parser/ |
D | htrace_event_parser.cpp | 623 …InternalTid internalTid = streamFilters_->processFilter_->UpdateOrCreateThread(event.timeStamp_, m… in SchedWakeupEvent() local 625 … instants->AppendInstantEventData(event.timeStamp_, schedWakeupName_, internalTid, wakeupFromPid); in SchedWakeupEvent() 626 streamFilters_->cpuFilter_->InsertWakeupEvent(event.timeStamp_, internalTid); in SchedWakeupEvent() 628 …ataCache_->GetRawData()->AppendRawData(event.timeStamp_, RAW_SCHED_WAKEUP, targetCpu, internalTid); in SchedWakeupEvent() 637 …auto internalTid = streamFilters_->processFilter_->UpdateOrCreateThread(event.timeStamp_, msg.pid(… in SchedWakeupNewEvent() local 639 …instants->AppendInstantEventData(event.timeStamp_, schedWakeupNewName_, internalTid, wakeupFromPid… in SchedWakeupNewEvent() 640 streamFilters_->cpuFilter_->InsertWakeupEvent(event.timeStamp_, internalTid); in SchedWakeupNewEvent() 642 …ataCache_->GetRawData()->AppendRawData(event.timeStamp_, RAW_SCHED_WAKEUP, targetCpu, internalTid); in SchedWakeupNewEvent() 651 …auto internalTid = streamFilters_->processFilter_->UpdateOrCreateThread(event.timeStamp_, wakePidV… in SchedWakingEvent() local 653 streamFilters_->cpuFilter_->InsertWakeupEvent(event.timeStamp_, internalTid, true); in SchedWakingEvent() [all …]
|
/developtools/smartperf_host/trace_streamer/test/unittest/table/ |
D | table_test.cpp | 126 InternalTid internalTid = 1; variable 146 startT, durationNs, internalTid, cat, nameIdentify, name, depth, cookid, parentId); 497 int64_t internalTid = 1; variable 518 …ream_.traceDataCache_->GetInstantsData()->AppendInstantEventData(timeStamp, nameIndex, internalTid, 591 InternalTid internalTid = 1; variable 607 …stream_.traceDataCache_->GetIrqData()->AppendInternalSlice(startT, durationNs, internalTid, cat, n… 699 uint64_t internalTid = 1; variable 701 ….traceDataCache_->GetProcessMeasureFilterData()->AppendNewFilter(filterId, nameIndex, internalTid); 1049 uint32_t internalTid = 1; variable 1056 stream_.traceDataCache_->GetRawData()->AppendRawData(timeStamp, name, cpu, internalTid); [all …]
|
/developtools/smartperf_host/trace_streamer/src/parser/bytrace_parser/ |
D | bytrace_event_parser.cpp | 302 …InternalTid internalTid = streamFilters_->processFilter_->UpdateOrCreateThread(line.ts, wakePidVal… in SchedWakeupEvent() local 303 streamFilters_->cpuFilter_->InsertWakeupEvent(line.ts, internalTid); in SchedWakeupEvent() 307 instants->AppendInstantEventData(line.ts, schedWakeupName_, internalTid, wakeupFromPid); in SchedWakeupEvent() 330 …InternalTid internalTid = streamFilters_->processFilter_->UpdateOrCreateThread(line.ts, wakePidVal… in SchedWakingEvent() local 335 streamFilters_->cpuFilter_->InsertWakeupEvent(line.ts, internalTid, true); in SchedWakingEvent() 336 instants->AppendInstantEventData(line.ts, schedWakingName_, internalTid, wakeupFromPid); in SchedWakingEvent()
|