| /developtools/smartperf_host/ide/src/trace/component/chart/ |
| D | SpClockChart.ts | 47 ClockStruct.maxValue = clockList.map((item) => item.num).reduce((a, b) => Math.max(a, b)); 50 let maxValue = 0; 78 if ((resultClock[j].value || 0) > maxValue) { 79 maxValue = resultClock[j].value || 0; 123 maxValue: maxValue === 0 ? 1 : maxValue, 126 …isState || isScreenState ? maxValue.toString() : Utils.getFrequencyWithUnit(maxValue / 1000).maxFr…
|
| D | SpVirtualMemChart.ts | 104 let maxValue = 0; 106 maxValue = Math.max(...resultVm.map((it) => it.value || 0)); 107 virtualMemoryRow.setAttribute('maxValue', maxValue.toString() || ''); 111 resultVm[j].maxValue = maxValue; 113 resultVm[j].maxValue = Number(virtualMemoryRow.getAttribute('maxValue'));
|
| D | SpSdkChart.ts | 49 let maxValue = this.createMaxValueSql(showType.tableName, 'where counter_id = $counter_id'); 55 maxSql: maxValue, 285 maxValue: maxCounter, 427 maxValue: 0,
|
| D | SpHiSysEnergyChart.ts | 310 maxState: maxStateData[0].maxValue, 327 maxValue: number; 329 let maxStateTotal = maxStateData[0].maxValue.toString(); 332 if (maxStateData[0].maxValue === 0) {
|
| /developtools/smartperf_host/ide/src/base-ui/chart/column/ |
| D | LitChartColumn.ts | 205 …let maxValue = Math.max(...this.litChartColumnCfg!.data.map((it) => it[this.litChartColumnCfg!.yFi… variable 206 maxValue = Math.ceil(maxValue * 0.1) * 10; 210 let valGap = maxValue / 5; 216 ? `${maxValue - valGap * i}` 217 : `${getProbablyTime(maxValue - valGap * i)}`, 237 (litChartColumnItem[this.litChartColumnCfg!.yField] * partHeight) / maxValue + 238 (litChartColumnItem[this.litChartColumnCfg!.yField] * partHeight) / maxValue / 2, 241 … y: partHeight - (litChartColumnItem[this.litChartColumnCfg!.yField] * partHeight) / maxValue, 243 h: (litChartColumnItem[this.litChartColumnCfg!.yField] * partHeight) / maxValue, 246 …Step: Math.ceil((litChartColumnItem[this.litChartColumnCfg!.yField] * partHeight) / maxValue / 60), [all …]
|
| /developtools/smartperf_host/ide/src/trace/database/ui-worker/ |
| D | ProcedureWorkerFrameSpacing.ts | 70 let maxValue = 0; 79 [minValue, maxValue] = this.maxMinData( 91 maxValue = Math.max.apply( 99 …this.drawTraceRow(frameSpacingFilter, selectUnitWidth, req, row, minValue, maxValue, smallTickStan… 112 maxValue: number, 125 … FrameSpacingStruct.refreshHoverStruct(preFrameSpacing, currentStruct, row, minValue, maxValue); 129 this.drawPoint(req.context, currentStruct, row, minValue, maxValue); 137 … FrameSpacingStruct.draw(req.context, preFrameSpacing, currentStruct, row, minValue, maxValue); 144 this.drawDashedLines(Object.values(smallTickStandard), req, row, minValue, maxValue); 168 maxValue: number [all …]
|
| D | ProcedureWorkerVirtualMemory.ts | 70 maxValue: number | undefined; property in VirtualMemoryStruct 76 virtualMemoryContext.fillStyle = ColorUtils.colorForTid(data.maxValue || 0); 77 virtualMemoryContext.strokeStyle = ColorUtils.colorForTid(data.maxValue || 0); 82 ((data.value || 0) * (data.frame.height || 0) * 1.0) / (data.maxValue || 1) 110 …t drawHeight: number = ((data.value || 0) * (data.frame.height || 0) * 1.0) / (data.maxValue || 1);
|
| D | ProcedureWorkerFrameDynamic.ts | 46 let [minValue, maxValue] = this.getMinAndMaxData(frameDynamicList, modelType); 53 this.refreshPointY(currDynamic, row, modelType, minValue, maxValue); 57 this.drawSinglePoint(req.context, currDynamic, row, modelType, minValue, maxValue); 67 this.drawDynamicPointYStr(req.context, frameDynamicList, row.frame, minValue, maxValue); 176 maxValue: number 184 ….height - padding * multiple) * ((currDynamic.typeValue || 0) - minValue)) / (maxValue - minValue); 201 maxValue: number 206 … (row.frame.height - padding * multiple) * ((currDynamicValue - minValue) / (maxValue - minValue)); 216 maxValue: number 224 let totalValue = maxValue - minValue; [all …]
|
| D | ProcedureWorkerSnapshot.ts | 31 let maxValue = 0; 33 maxValue = Math.max(maxValue, item.value || 0); 37 maxValue, 60 maxValue: number, 66 SnapshotStruct.setFrame(file, maxValue, startNs || 0, totalNs || 0, frame); 245 …static setFrame(node: SnapshotStruct, maxValue: number, startNs: number, totalNs: number, frame: R… 254 Math.floor(((maxValue - node.value) / maxValue) * frame.height), 256 Math.ceil((node.value / maxValue) * frame.height)
|
| D | ProcedureWorkerClock.ts | 27 maxValue: number; 50 ClockStruct.draw(clockReq.context, re, clockReq.maxValue); 83 static maxValue: number = 0; property in ClockStruct 94 static draw(clockContext: CanvasRenderingContext2D, data: ClockStruct, maxValue: number) { 99 …t drawHeight: number = Math.floor(((data.value || 0) * (data.frame.height || 0) * 1.0) / maxValue);
|
| D | ProcedureWorkerMem.ts | 78 memContext.fillStyle = ColorUtils.colorForTid(data.maxValue || 0); 79 memContext.strokeStyle = ColorUtils.colorForTid(data.maxValue || 0); 84 ((data.value || 0) * (data.frame.height || 0) * 1.0) / (data.maxValue || 1) 103 …t drawHeight: number = ((data.value || 0) * (data.frame.height || 0) * 1.0) / (data.maxValue || 1);
|
| D | ProcedureWorkerFreqExtend.ts | 59 static maxValue: number = 0; property in CpuFreqExtendStruct 97 ((data.value || 0) * (data.frame.height || 0) * 1.0) / CpuFreqExtendStruct.maxValue 109 ((data.value || 0) * (data.frame.height || 0)) / CpuFreqExtendStruct.maxValue
|
| D | ProduceWorkerSdkSlice.ts | 26 maxValue: number; 32 SdkSliceStruct.maxSdkSlice = req.maxValue;
|
| D | ProduceWorkerSdkCounter.ts | 26 maxValue: number; 32 let maxCounter = req.maxValue;
|
| /developtools/smartperf_host/ide/src/trace/bean/ |
| D | ProcessMemStruct.ts | 31 maxValue: number | undefined; property in ProcessMemStruct 42 (processMemBeanStructData.maxValue || 0) 74 …sMemBeanStructCanvasCtx.fillStyle = ColorUtils.colorForTid(processMemBeanStructData.maxValue || 0); 75 …emBeanStructCanvasCtx.strokeStyle = ColorUtils.colorForTid(processMemBeanStructData.maxValue || 0); 80 (processMemBeanStructData.maxValue || 1);
|
| /developtools/smartperf_host/ide/test/trace/component/chart/ |
| D | SpProcessChart.test.ts | 526 let maxValue = sqlit.queryMemFilterIdMaxValue; variable 527 maxValue.mockResolvedValue([ 530 maxValue: 522 534 maxValue: 563
|
| D | SpHiSysEnergyChart.test.ts | 51 maxValue: 200, 55 maxValue: 300,
|
| D | SpFreqChart.test.ts | 119 MockgetCpuLimitFreqMax.mockResolvedValue([{ maxValue: 100, filterId: 9 }]);
|
| D | SpAbilityMonitor.test.ts | 72 maxValue: 1,
|
| /developtools/smartperf_host/ide/test/trace/database/ui-worker/ |
| D | ProcedureWorkerHeapTimeline.test.ts | 54 maxValue: undefined, 75 maxValue: undefined,
|
| D | ProcedureWorkerSnapshot.test.ts | 77 maxValue: undefined, 100 maxValue: undefined,
|
| D | ProcedureWorkerHeapSnapshot.test.ts | 81 maxValue: undefined, 104 maxValue: undefined,
|
| D | ProcedureWorkerCpuProfiler.test.ts | 85 maxValue: undefined,
|
| D | ProcedureWorkerVirtualMemory.test.ts | 75 maxValue: undefined,
|
| /developtools/smartperf_host/ide/src/trace/database/sql/ |
| D | Memory.sql.ts | 121 export const queryMemFilterIdMaxValue = (): Promise<Array<{ filterId: number; maxValue: number }>> …
|