Home
last modified time | relevance | path

Searched refs:reduce (Results 1 – 25 of 41) sorted by relevance

12

/developtools/smartperf_host/ide/src/trace/database/data-trafic/utils/
DDataFilter.ts104 res.add(arr.reduce((p, c) => (p[durKey] > c[durKey] ? p : c)));
107 res.add(arr.reduce((p, c) => (p[valueKey] > c[valueKey] ? p : c)));
113 res.add(filterArr.reduce((p, c) => (p[durKey] > c[durKey] ? p : c)));
178 let childArray = (group[key] as unknown[]).reduce((p, c) => (p.durTmp > c.durTmp ? p : c));
185 return array.reduce((pre, current, index, arr) => {
/developtools/smartperf_host/ide/src/base-ui/table/
DLitPageTable.ts552 … let reduce = this.currentRecycleList.map((item) => item.clientHeight).reduce((a, b) => a + b, 0); variable
553 if (reduce === 0) {
557 reduce <= this.tableElement!.clientHeight &&
563 reduce += newTableElement.clientHeight;
653 … let reduce = this.currentRecycleList.map((item) => item.clientHeight).reduce((a, b) => a + b, 0); variable
654 if (reduce === 0) {
657 while (reduce <= this.tableElement!.clientHeight) {
666 reduce += newTableElement.clientHeight;
932 getVisibleObjs(): { visibleObjs: unknown[]; skip: number; reduce: number } {
957 … let reduce = this.currentRecycleList.map((item) => item.clientHeight).reduce((a, b) => a + b, 0); variable
[all …]
Dlit-table.ts727 … let reduce = this.currentRecycleList.map((item) => item.clientHeight).reduce((a, b) => a + b, 0); variable
728 if (reduce === 0) {
731 while (reduce <= this.tableElement!.clientHeight) {
733 reduce += newTableElement.clientHeight;
886 … let reduce = this.currentRecycleList.map((item) => item.clientHeight).reduce((a, b) => a + b, 0); variable
887 if (reduce === 0) {
890 while (reduce <= this.tableElement!.clientHeight) {
893 reduce += newTableElement.clientHeight;
1370 … let reduce = this.currentRecycleList.map((item) => item.clientHeight).reduce((a, b) => a + b, 0); variable
1371 if (reduce === 0) {
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/bpftrace/
DTabPaneSampleInstructionDistributions.ts246 instructions = this.onReadableData.reduce((pre: unknown, current: unknown) => {
253 instructions = this.onReadableData.reduce((pre: unknown, current: unknown) => {
265 .reduce((pre, cur) => Math.max(pre, cur), 0) + 10;
266 const yMaxValue = Object.values(instructions).reduce(
DTabPaneSampleInstructionSelection.ts274 .reduce((pre: unknown, cur: unknown) => {
300 .reduce((pre: number, cur: SampleStruct) => pre + cur.cycles!, 0)
305 .reduce((pre: number, cur: SampleStruct) => pre + cur.instructions!, 0);
423 const totalInstruction = instruction.property.reduce(
428 const totalCycles = instruction.property.reduce(
DTabPaneSampleInstructionSelectionTotalTime.ts231 const instructionArray = onReadableData.reduce((pre: unknown, current: unknown) => {
245 .reduce((pre, cur) => Math.max(pre, cur), 0) + 5; // @ts-ignore
246 const yMaxValue = Object.values(instructionArray).reduce(
DTabPaneSampleInstruction.ts264 .reduce((pre: any, cur: any) => {
284 .reduce((pre: number, cur: SampleStruct) => pre + cur.cycles!, 0)
288 .reduce((pre: number, cur: SampleStruct) => pre + cur.instructions!, 0);
/developtools/smartperf_host/ide/src/trace/bean/
DPerfBottomUpStruct.ts47 const sum = this.children.reduce((total, obj) => total + obj.totalTime, 0);
/developtools/smartperf_host/ide/src/trace/database/ui-worker/hiperf/
DProcedureWorkerHiPerfReport.ts137 .reduce((pre, current, index, arr) => {
197 .reduce((pre, current) => {
207 let sum = obj[aKey].reduce((pre: unknown, cur: unknown) => {
DProcedureWorkerHiPerfEvent.ts115 .reduce((pre, current) => {
124 let sum = obj[aKey].reduce((pre: unknown, cur: unknown) => {
DProcedureWorkerHiPerfCallChart.ts205 .reduce((pre, current) => {
/developtools/smartperf_host/ide/src/base-ui/chart/column/
DLitChartColumn.ts94 .reduce((pre, current) => pre + current, 0)}</label>`;
142 .reduce((pre, current) => pre + current, 0)}</label>`;
306 let reduceGroup = this.litChartColumnCfg!.data.reduce((pre, current, index, arr) => {
316 …) => (reduceGroup[k] as unknown[]).reduce((pre, current) => pre + current[this.litChartColumnCfg!.…
332 …(reduceGroup[a] as unknown[]).reduce((pre, cur) => pre + (cur[this.litChartColumnCfg!.yField] as n…
333 …(reduceGroup[b] as unknown[]).reduce((pre, cur) => pre + (cur[this.litChartColumnCfg!.yField] as n…
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/process/
DTabPaneThreadUsage.ts290 let res = arr.reduce((total, item) => {
300 let res = arr.reduce((total, item) => {
310 let res = arr.reduce((total, item) => {
DTabPaneThreadStates.ts88 let target = threadStatDetail.reduce((map, current) => {
/developtools/ace_ets2bundle/compiler/src/fast_build/common/
Dprocess_project_config.ts39 projectConfig.entryObj = Object.keys(projectConfig.entryObj).reduce((newEntry, key) => {
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/hiperf/
DTabPerfBottomUp.ts98 let sum = results.reduce(
132 const heaviestChild = children.reduce((max, struct) =>
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/ark-ts/
DTabPaneJsCpu.ts57 this.totalNs = chartData.reduce((acc, struct) => acc + struct.totalTime, 0);
123 const heaviestChild = children.reduce(
DTabPaneJsCpuStatistics.ts178 const totalTime = [...results.values()].reduce((prev, curr) => prev + curr);
/developtools/smartperf_host/ide/src/trace/component/trace/base/
DTraceRowRecyclerView.ts107 this.totalHeight = this.visibleObjects.map((it) => it.rowHeight).reduce((a, b) => a + b);
DUtils.ts288 return array.reduce((pre, current, index, arr) => {
462 return array1.concat(array2).reduce(function (total, item) {
/developtools/smartperf_host/ide/src/trace/component/chart/
DSpClockChart.ts132 ClockStruct.maxValue = clockList.map((item) => item.num).reduce((a, b) => Math.max(a, b));
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/gpu/
DTabPaneGpuClickSelect.ts75 let gpuDataObj = result.reduce(
/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorkerSoInit.ts112 .reduce((pre: unknown, current, index, arr) => {
DProcedureWorkerBpftrace.ts120 .reduce((pre, current) => {
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/pages/
DReportDetail.ets60 let normalCurrentNow = data.reduce((pre, cur)=> {

12