Home
last modified time | relevance | path

Searched refs:filterId (Results 1 – 25 of 43) sorted by relevance

12

/developtools/smartperf_host/trace_streamer/src/filter/
Dmeasure_filter.cpp31 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 …]
Dsystem_event_measure_filter.cpp33 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/
Dmeasure_filter_test.cpp60 …uint32_t filterId = stream_.streamFilters_->cpuMeasureFilter_->GetOrCreateFilterId(CPU_ID_0, nameI… variable
61 EXPECT_TRUE(filterId == 0);
64filterId = 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 …]
Dfilter_filter_test.cpp49 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/
DSpFreqChart.test.ts97 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/
DVirtualMemoryDataReceiver.ts23 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
DClockDataReceiver.ts152 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] : []
DClockDataSender.ts29 filterId: new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT * MAX_COUNT),
69 let filterId = new Int32Array(buffers.filterId);
78 filterId: filterId[i],
DVirtualMemoryDataSender.ts20 filterId: number,
43 filterId: filterId,
DCommonArgs.ts25 filterId: number; property
/developtools/smartperf_host/ide/src/trace/database/data-trafic/cpu/
DCpuStateReceiver.ts26 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) || [];
DCpuStateSender.ts19 export function cpuStateSender(filterId: number, row: TraceRow<CpuStateStruct>): Promise<CpuStateSt…
41 filterId: filterId,
/developtools/smartperf_host/trace_streamer/src/trace_data/trace_stdtype/measure/
Dmeasure_stdtype.cpp29 …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()
Dmeasure_stdtype.h57 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/
DStateBusyTimeWorker.ts62 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/
DCpuStateSender.test.ts45 let filterId = 1; variable
47 cpuStateSender(filterId,CpustataDataTraceRow).then(result => {
DCpuStateReceiver.test.ts28 filterId: 3,
56 filterId: 1,
/developtools/smartperf_host/ide/test/trace/database/data-trafic/
DVirtualMemoryDataReceiver.test.ts30 filterId: 6347,
45 filterId: 6347,
DClockDataReceiver.test.ts43 …{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/
DTabPaneGpufreqUsage.test.ts40 filterId: '12',
71 filterId: '12',
DTabPaneGpufreqDataCut.test.ts74 filterId: '12',
90 filterId: '12',
/developtools/smartperf_host/ide/src/trace/database/sql/
DMemory.sql.ts121 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/
DTabPaneCounterSample.ts173 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}`, {
DTabPaneFrequencySample.ts181 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/
DSpFreqChart.ts105 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

12