/developtools/smartperf_host/ide/src/trace/database/data-trafic/utils/ |
D | DataFilter.ts | 104 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/ |
D | LitPageTable.ts | 552 … 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 …]
|
D | lit-table.ts | 727 … 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/ |
D | TabPaneSampleInstructionDistributions.ts | 246 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(
|
D | TabPaneSampleInstructionSelection.ts | 274 .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(
|
D | TabPaneSampleInstructionSelectionTotalTime.ts | 231 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(
|
D | TabPaneSampleInstruction.ts | 264 .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/ |
D | PerfBottomUpStruct.ts | 47 const sum = this.children.reduce((total, obj) => total + obj.totalTime, 0);
|
/developtools/smartperf_host/ide/src/trace/database/ui-worker/hiperf/ |
D | ProcedureWorkerHiPerfReport.ts | 137 .reduce((pre, current, index, arr) => { 197 .reduce((pre, current) => { 207 let sum = obj[aKey].reduce((pre: unknown, cur: unknown) => {
|
D | ProcedureWorkerHiPerfEvent.ts | 115 .reduce((pre, current) => { 124 let sum = obj[aKey].reduce((pre: unknown, cur: unknown) => {
|
D | ProcedureWorkerHiPerfCallChart.ts | 205 .reduce((pre, current) => {
|
/developtools/smartperf_host/ide/src/base-ui/chart/column/ |
D | LitChartColumn.ts | 94 .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/ |
D | TabPaneThreadUsage.ts | 290 let res = arr.reduce((total, item) => { 300 let res = arr.reduce((total, item) => { 310 let res = arr.reduce((total, item) => {
|
D | TabPaneThreadStates.ts | 88 let target = threadStatDetail.reduce((map, current) => {
|
/developtools/ace_ets2bundle/compiler/src/fast_build/common/ |
D | process_project_config.ts | 39 projectConfig.entryObj = Object.keys(projectConfig.entryObj).reduce((newEntry, key) => {
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/hiperf/ |
D | TabPerfBottomUp.ts | 98 let sum = results.reduce( 132 const heaviestChild = children.reduce((max, struct) =>
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/ark-ts/ |
D | TabPaneJsCpu.ts | 57 this.totalNs = chartData.reduce((acc, struct) => acc + struct.totalTime, 0); 123 const heaviestChild = children.reduce(
|
D | TabPaneJsCpuStatistics.ts | 178 const totalTime = [...results.values()].reduce((prev, curr) => prev + curr);
|
/developtools/smartperf_host/ide/src/trace/component/trace/base/ |
D | TraceRowRecyclerView.ts | 107 this.totalHeight = this.visibleObjects.map((it) => it.rowHeight).reduce((a, b) => a + b);
|
D | Utils.ts | 288 return array.reduce((pre, current, index, arr) => { 462 return array1.concat(array2).reduce(function (total, item) {
|
/developtools/smartperf_host/ide/src/trace/component/chart/ |
D | SpClockChart.ts | 132 ClockStruct.maxValue = clockList.map((item) => item.num).reduce((a, b) => Math.max(a, b));
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/gpu/ |
D | TabPaneGpuClickSelect.ts | 75 let gpuDataObj = result.reduce(
|
/developtools/smartperf_host/ide/src/trace/database/ui-worker/ |
D | ProcedureWorkerSoInit.ts | 112 .reduce((pre: unknown, current, index, arr) => {
|
D | ProcedureWorkerBpftrace.ts | 120 .reduce((pre, current) => {
|
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/pages/ |
D | ReportDetail.ets | 60 let normalCurrentNow = data.reduce((pre, cur)=> {
|