/developtools/smartperf_host/trace_streamer/src/filter/ |
D | measure_filter.cpp | 31 auto filterId = GetOrCreateFilterId(internalTid, nameIndex); in AppendNewMeasureData() local 33 traceDataCache_->GetProcessMeasureData()->AppendMeasureData(0, timeStamp, value, filterId); in AppendNewMeasureData() 35 … auto row = traceDataCache_->GetMeasureData()->AppendMeasureData(0, timeStamp, value, filterId); in AppendNewMeasureData() 38 if (filterIdToRow->count(filterId)) { in AppendNewMeasureData() 39 traceDataCache_->GetMeasureData()->SetDur(filterIdToRow->at(filterId), timeStamp); in AppendNewMeasureData() 40 filterIdToRow->at(filterId) = row; in AppendNewMeasureData() 42 filterIdToRow->insert(std::make_pair(filterId, row)); in AppendNewMeasureData() 49 auto filterId = tidStreamIdFilterIdMap_.Find(internalTid, nameIndex); in GetOrCreateFilterId() local 50 if (filterId != INVALID_UINT64) { in GetOrCreateFilterId() 51 return static_cast<uint32_t>(filterId); in GetOrCreateFilterId() [all …]
|
D | system_event_measure_filter.cpp | 33 auto filterId = GetOrCreateFilterId(nameIndex); in AppendNewMeasureData() local 34 …to row = traceDataCache_->GetSysMemMeasureData()->AppendMeasureData(0, timeStamp, value, filterId); in AppendNewMeasureData() 36 if (filterIdToRow_.count(filterId)) { in AppendNewMeasureData() 37 traceDataCache_->GetSysMemMeasureData()->SetDur(filterIdToRow_.at(filterId), timeStamp); in AppendNewMeasureData() 38 filterIdToRow_.at(filterId) = row; in AppendNewMeasureData() 40 filterIdToRow_.insert(std::make_pair(filterId, row)); in AppendNewMeasureData() 49 auto filterId = tidStreamIdFilterIdMap_.find(nameIndex); in GetOrCreateFilterId() local 50 if (filterId != tidStreamIdFilterIdMap_.end()) { in GetOrCreateFilterId() 60 void SystemEventMeasureFilter::AddCertainFilterId(DataIndex nameIndex, uint64_t filterId) in AddCertainFilterId() argument 62 tidStreamIdFilterIdMap_.insert(std::make_pair(nameIndex, filterId)); in AddCertainFilterId() [all …]
|
/developtools/smartperf_host/trace_streamer/test/unittest/filter/ |
D | measure_filter_test.cpp | 60 …uint32_t filterId = stream_.streamFilters_->cpuMeasureFilter_->GetOrCreateFilterId(CPU_ID_0, nameI… variable 61 EXPECT_TRUE(filterId == 0); 64 … filterId = stream_.streamFilters_->cpuMeasureFilter_->GetOrCreateFilterId(CPU_ID_1, nameIndex_1); 65 EXPECT_TRUE(filterId == 1); 87 …uint32_t filterId = stream_.streamFilters_->clockRateFilter_->GetOrCreateFilterId(CPU_ID_0, nameIn… variable 88 EXPECT_TRUE(filterId == 0); 91 filterId = stream_.streamFilters_->clockRateFilter_->GetOrCreateFilterId(CPU_ID_1, nameIndex_1); 92 EXPECT_TRUE(filterId == 1); 114 …uint32_t filterId = stream_.streamFilters_->clockEnableFilter_->GetOrCreateFilterId(CPU_ID_0, name… variable 115 EXPECT_TRUE(filterId == 0); [all …]
|
D | filter_filter_test.cpp | 49 uint32_t filterId = streamFilters_.filterFilter_->AddFilter("cpu_counter_filter", "cpu1", 1); variable 50 EXPECT_EQ(filterId, static_cast<uint32_t>(0)); 52 filterId = streamFilters_.filterFilter_->AddFilter("cpu_counter_filter", "cpu2", 2); 53 EXPECT_EQ(filterId, static_cast<uint32_t>(1));
|
/developtools/smartperf_host/ide/test/trace/component/chart/ |
D | SpFreqChart.test.ts | 97 filterId: 1, 101 filterId: 2, 109 filterId: 1, 113 filterId: 2, 124 MockgetCpuLimitFreqMax.mockResolvedValue([{ maxValue: 100, filterId: 9 }]); 127 MockgetCpuCount.mockResolvedValue([{ maxCount: 100, filterId: 9 }]);
|
/developtools/smartperf_host/ide/src/trace/database/data-trafic/ |
D | VirtualMemoryDataReceiver.ts | 23 where filter_id = ${args.filterId}`; 33 where filter_id = ${args.filterId} 51 if (!vmListMap.has(data.params.filterId)) { 54 vmListMap.set(data.params.filterId, vmList); 56 let list = vmListMap.get(data.params.filterId) || []; // @ts-ignore 75 filterID[i] = it.filterId; // @ts-ignore
|
D | ClockDataReceiver.ts | 152 let filterId = new Int32Array(transfer ? res.length : data.params.sharedArrayBuffers.filterId); 161 filterId[i] = it.filterId; 176 filterId: filterId.buffer, 182 transfer ? [dur.buffer, startNS.buffer, value.buffer, filterId.buffer] : []
|
D | ClockDataSender.ts | 29 filterId: new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT * MAX_COUNT), 69 let filterId = new Int32Array(buffers.filterId); 78 filterId: filterId[i],
|
D | VirtualMemoryDataSender.ts | 20 filterId: number, 43 filterId: filterId,
|
D | CommonArgs.ts | 25 filterId: number; property
|
/developtools/smartperf_host/ide/src/trace/database/data-trafic/cpu/ |
D | CpuStateReceiver.ts | 26 where filter_id = ${args.filterId} 36 where filter_id = ${args.filterId} 48 where filter_id = ${args.filterId}; 58 if (!cpuStateList.has(data.params.filterId)) { 69 cpuStateList.set(data.params.filterId, list); 72 list = cpuStateList.get(data.params.filterId) || [];
|
D | CpuStateSender.ts | 19 export function cpuStateSender(filterId: number, row: TraceRow<CpuStateStruct>): Promise<CpuStateSt… 41 filterId: filterId,
|
/developtools/smartperf_host/trace_streamer/src/trace_data/trace_stdtype/measure/ |
D | measure_stdtype.cpp | 29 …e_t Measure::AppendMeasureData(uint32_t type, uint64_t timeStamp, int64_t value, uint32_t filterId) in AppendMeasureData() argument 32 filterIdDeque_.emplace_back(filterId); in AppendMeasureData() 64 size_t SysMeasureFilter::AppendNewFilter(uint64_t filterId, DataIndex type, DataIndex nameId) in AppendNewFilter() argument 66 ids_.emplace_back(filterId); in AppendNewFilter()
|
D | measure_stdtype.h | 57 size_t AppendMeasureData(uint32_t type, uint64_t timeStamp, int64_t value, uint32_t filterId); 111 size_t AppendNewFilter(uint64_t filterId, DataIndex type, DataIndex nameId); 128 inline size_t AppendNewFilter(uint64_t filterId, DataIndex name, uint32_t cpu) in AppendNewFilter() argument 130 ids_.emplace_back(filterId); in AppendNewFilter()
|
/developtools/smartperf_host/ide/src/trace/database/ |
D | StateBusyTimeWorker.ts | 62 filterId: initFreqResult[initFreqResult.length - 1].filterId, 88 let freqId = initFreqResult[0].filterId; 108 newfreqId = initFreqResult[freqIndex].filterId; 123 newfreqId = initFreqResult[freqIndex].filterId;
|
/developtools/smartperf_host/ide/test/trace/database/data-trafic/cpu/ |
D | CpuStateSender.test.ts | 45 let filterId = 1; variable 47 cpuStateSender(filterId,CpustataDataTraceRow).then(result => {
|
D | CpuStateReceiver.test.ts | 28 filterId: 3, 56 filterId: 1,
|
/developtools/smartperf_host/ide/test/trace/database/data-trafic/ |
D | VirtualMemoryDataReceiver.test.ts | 30 filterId: 6347, 45 filterId: 6347,
|
D | ClockDataReceiver.test.ts | 43 …{ClockData: {filterId: 89, startNs: 197364063, type: 'measure', value: 48000, dur: 230475000, px: … 44 …{ClockData: {filterId: 0, startNs: 197364063, type: 'measure', value: 48000, dur: 230475000, px: 1…
|
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/gpufreq/ |
D | TabPaneGpufreqUsage.test.ts | 40 filterId: '12', 71 filterId: '12',
|
D | TabPaneGpufreqDataCut.test.ts | 74 filterId: '12', 90 filterId: '12',
|
/developtools/smartperf_host/ide/src/trace/database/sql/ |
D | Memory.sql.ts | 121 export const queryMemFilterIdMaxValue = (): Promise<Array<{ filterId: number; maxValue: number }>> … 240 filterId: number 246 { $filter_id: filterId }
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/cpu/ |
D | TabPaneCounterSample.ts | 173 result.filter((f) => f.filterId === a), 219 if (sampleMap.has(`${item.filterId}-${item.value}`)) { 221 let obj = sampleMap.get(`${item.filterId}-${item.value}`); 226 sampleMap.set(`${item.filterId}-${item.value}`, {
|
D | TabPaneFrequencySample.ts | 181 result.filter((f) => f.filterId === a), 221 stateFiliterIds.push(cpuStateIds[0].filterId); 282 if (sampleMap.has(`${item.filterId}-${item.value}`)) { 284 let obj = sampleMap.get(`${item.filterId}-${item.value}`); 289 sampleMap.set(`${item.filterId}-${item.value}`, {
|
/developtools/smartperf_host/ide/src/trace/component/chart/ |
D | SpFreqChart.ts | 105 traceRow.rowId = `${it.filterId}`; 140 cpuStateRow.rowId = `${it.filterId}`; 149 let rs = await cpuStateSender(it.filterId, cpuStateRow); //@ts-ignore 182 cpuFreqLimitsMax.find((maxLimit) => maxLimit.filterId === limit.maxFilterId)?.maxValue || 0
|