Home
last modified time | relevance | path

Searched refs:maxValue (Results 1 – 25 of 34) sorted by relevance

12

/developtools/smartperf_host/ide/src/trace/component/chart/
DSpClockChart.ts47 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…
DSpVirtualMemChart.ts104 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'));
DSpSdkChart.ts49 let maxValue = this.createMaxValueSql(showType.tableName, 'where counter_id = $counter_id');
55 maxSql: maxValue,
285 maxValue: maxCounter,
427 maxValue: 0,
DSpHiSysEnergyChart.ts310 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/
DLitChartColumn.ts205 …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/
DProcedureWorkerFrameSpacing.ts70 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 …]
DProcedureWorkerVirtualMemory.ts70 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);
DProcedureWorkerFrameDynamic.ts46 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 …]
DProcedureWorkerSnapshot.ts31 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)
DProcedureWorkerClock.ts27 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);
DProcedureWorkerMem.ts78 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);
DProcedureWorkerFreqExtend.ts59 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
DProduceWorkerSdkSlice.ts26 maxValue: number;
32 SdkSliceStruct.maxSdkSlice = req.maxValue;
DProduceWorkerSdkCounter.ts26 maxValue: number;
32 let maxCounter = req.maxValue;
/developtools/smartperf_host/ide/src/trace/bean/
DProcessMemStruct.ts31 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/
DSpProcessChart.test.ts526 let maxValue = sqlit.queryMemFilterIdMaxValue; variable
527 maxValue.mockResolvedValue([
530 maxValue: 522
534 maxValue: 563
DSpHiSysEnergyChart.test.ts51 maxValue: 200,
55 maxValue: 300,
DSpFreqChart.test.ts119 MockgetCpuLimitFreqMax.mockResolvedValue([{ maxValue: 100, filterId: 9 }]);
DSpAbilityMonitor.test.ts72 maxValue: 1,
/developtools/smartperf_host/ide/test/trace/database/ui-worker/
DProcedureWorkerHeapTimeline.test.ts54 maxValue: undefined,
75 maxValue: undefined,
DProcedureWorkerSnapshot.test.ts77 maxValue: undefined,
100 maxValue: undefined,
DProcedureWorkerHeapSnapshot.test.ts81 maxValue: undefined,
104 maxValue: undefined,
DProcedureWorkerCpuProfiler.test.ts85 maxValue: undefined,
DProcedureWorkerVirtualMemory.test.ts75 maxValue: undefined,
/developtools/smartperf_host/ide/src/trace/database/sql/
DMemory.sql.ts121 export const queryMemFilterIdMaxValue = (): Promise<Array<{ filterId: number; maxValue: number }>> …

12