Home
last modified time | relevance | path

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

123

/developtools/smartperf_host/ide/src/trace/component/chart/
DSpClockChart.ts46 ClockStruct.maxValue = clockList.map((item) => item.num).reduce((a, b) => Math.max(a, b));
49 let maxValue = 0;
83 if ((resultClock[j].value || 0) > maxValue) {
84 maxValue = resultClock[j].value || 0;
111 maxValue: maxValue === 0 ? 1 : maxValue,
114 …isState || isScreenState ? maxValue.toString() : Utils.getFrequencyWithUnit(maxValue / 1000).maxFr…
DSpVirtualMemChart.ts79 let maxValue = Math.max(...resultVm.map((it) => it.value || 0));
81 resultVm[j].maxValue = maxValue;
DSpSdkChart.ts63 … let maxValue = this.createMaxValueSql(showType.tableName, 'where counter_id = $counter_id');
69 maxSql: maxValue,
256 maxValue: maxCounter,
374 maxValue: 0,
/developtools/profiler/host/smartperf/ide/src/trace/component/chart/
DSpClockChart.ts46 ClockStruct.maxValue = clockList.map((item) => item.num).reduce((a, b) => Math.max(a, b));
49 let maxValue = 0;
83 if ((resultClock[j].value || 0) > maxValue) {
84 maxValue = resultClock[j].value || 0;
111 maxValue: maxValue === 0 ? 1 : maxValue,
114 …isState || isScreenState ? maxValue.toString() : Utils.getFrequencyWithUnit(maxValue / 1000).maxFr…
DSmapsChart.ts95 let maxValue = maxList[0].max_value;
112 maxValue: maxValue,
DSpVirtualMemChart.ts79 let maxValue = Math.max(...resultVm.map((it) => it.value || 0));
81 resultVm[j].maxValue = maxValue;
DSpSdkChart.ts63 … let maxValue = this.createMaxValueSql(showType.tableName, 'where counter_id = $counter_id');
69 maxSql: maxValue,
256 maxValue: maxCounter,
374 maxValue: 0,
/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorkerSnapshot.ts31 let maxValue = 0;
33 maxValue = Math.max(maxValue, item.value || 0);
35 …snapshot(list, filter, maxValue, TraceRow.range?.startNS ?? 0, (TraceRow.range?.endNS ?? 0) - (Tra…
54 maxValue: number,
60 SnapshotStruct.setFrame(file, maxValue, startNs || 0, totalNs || 0, frame);
80 …static setFrame(node: SnapshotStruct, maxValue: number, startNs: number, totalNs: number, frame: R…
89 Math.floor(((maxValue - node.value) / maxValue) * frame.height),
91 Math.ceil((node.value / maxValue) * frame.height)
DProcedureWorkerFrameSpacing.ts54 let [minValue, maxValue] = this.maxMinData(smallTickStandard.firstLine,
62 … FrameSpacingStruct.refreshHoverStruct(preFrameSpacing, currentStruct, row, minValue, maxValue);
66 this.drawPoint(req.context, currentStruct, row, minValue, maxValue);
71 … FrameSpacingStruct.draw(req.context, preFrameSpacing, currentStruct, row, minValue, maxValue);
77 this.drawDashedLines(Object.values(smallTickStandard), req, row, minValue, maxValue);
97 row: TraceRow<FrameSpacingStruct>, minValue: number, maxValue: number): void {
100 (maxValue - minValue)) - padding;
117 maxValue: number
120 … FrameSpacingStruct.drawParallelLine(req.context, row.frame, dashedLines, i, minVale, maxValue);
255 row: TraceRow<FrameSpacingStruct>, minValue: number, maxValue: number): void {
[all …]
DProcedureWorkerClock.ts26 maxValue: number;
48 ClockStruct.draw(clockReq.context, re, clockReq.maxValue);
69 static maxValue: number = 0; property in ClockStruct
80 static draw(clockContext: CanvasRenderingContext2D, data: ClockStruct, maxValue: number) {
85 …t drawHeight: number = Math.floor(((data.value || 0) * (data.frame.height || 0) * 1.0) / maxValue);
DProcedureWorkerFrameDynamic.ts36 let [minValue, maxValue] = this.getMinAndMaxData(frameDynamicFilter, modelType);
43 this.refreshPointY(currDynamic, row, modelType, minValue, maxValue);
47 this.drawSinglePoint(req.context, currDynamic, row, modelType, minValue, maxValue);
57 this.drawDynamicPointYStr(req.context, frameDynamicFilter, row.frame, minValue, maxValue);
171 maxValue: number
177 ….height - padding * multiple) * ((currDynamic.typeValue || 0) - minValue) / (maxValue - minValue));
194 maxValue: number
199 … (row.frame.height - padding * multiple) * ((currDynamicValue - minValue) / (maxValue - minValue));
209 maxValue: number
217 let totalValue = maxValue - minValue;
[all …]
DProcedureWorkerVirtualMemory.ts160 maxValue: number | undefined; property in VirtualMemoryStruct
166 virtualMemoryContext.fillStyle = ColorUtils.colorForTid(data.maxValue || 0);
167 virtualMemoryContext.strokeStyle = ColorUtils.colorForTid(data.maxValue || 0);
172 ((data.value || 0) * (data.frame.height || 0) * 1.0) / (data.maxValue || 1)
200 …t drawHeight: number = ((data.value || 0) * (data.frame.height || 0) * 1.0) / (data.maxValue || 1);
DProcedureWorkerMem.ts148 memContext.fillStyle = ColorUtils.colorForTid(data.maxValue || 0);
149 memContext.strokeStyle = ColorUtils.colorForTid(data.maxValue || 0);
154 ((data.value || 0) * (data.frame.height || 0) * 1.0) / (data.maxValue || 1)
173 …t drawHeight: number = ((data.value || 0) * (data.frame.height || 0) * 1.0) / (data.maxValue || 1);
/developtools/profiler/host/smartperf/ide/src/trace/bean/
DProcessMemStruct.ts31 maxValue: number | undefined; property in ProcessMemStruct
41 …0) * (processMemBeanStructData.frame.height || 0) * 1.0) / (processMemBeanStructData.maxValue || 0)
55 …sMemBeanStructCanvasCtx.fillStyle = ColorUtils.colorForTid(processMemBeanStructData.maxValue || 0);
56 …emBeanStructCanvasCtx.strokeStyle = ColorUtils.colorForTid(processMemBeanStructData.maxValue || 0);
59 …) * (processMemBeanStructData.frame.height || 0) * 1.0) / (processMemBeanStructData.maxValue || 1);
/developtools/smartperf_host/ide/src/trace/bean/
DProcessMemStruct.ts31 maxValue: number | undefined; property in ProcessMemStruct
41 …0) * (processMemBeanStructData.frame.height || 0) * 1.0) / (processMemBeanStructData.maxValue || 0)
55 …sMemBeanStructCanvasCtx.fillStyle = ColorUtils.colorForTid(processMemBeanStructData.maxValue || 0);
56 …emBeanStructCanvasCtx.strokeStyle = ColorUtils.colorForTid(processMemBeanStructData.maxValue || 0);
59 …) * (processMemBeanStructData.frame.height || 0) * 1.0) / (processMemBeanStructData.maxValue || 1);
/developtools/profiler/host/smartperf/ide/src/base-ui/chart/column/
DLitChartColumn.ts201 …let maxValue = Math.max(...this.litChartColumnCfg.data.map((it) => it[this.litChartColumnCfg!.yFie… variable
202 maxValue = Math.ceil(maxValue * 0.1) * 10;
206 let valGap = maxValue / 5;
210 label: `${getProbablyTime(maxValue - valGap * i)}`,
231 (litChartColumnItem[this.litChartColumnCfg!.yField] * partHeight) / maxValue +
232 (litChartColumnItem[this.litChartColumnCfg!.yField] * partHeight) / maxValue / 2,
235 … y: partHeight - (litChartColumnItem[this.litChartColumnCfg!.yField] * partHeight) / maxValue,
237 h: (litChartColumnItem[this.litChartColumnCfg!.yField] * partHeight) / maxValue,
240 …Step: Math.ceil((litChartColumnItem[this.litChartColumnCfg!.yField] * partHeight) / maxValue / 60),
254 let maxValue = Math.ceil(Math.max(...sums) * 0.1) * 10; variable
[all …]
/developtools/smartperf_host/ide/src/base-ui/chart/column/
DLitChartColumn.ts201 …let maxValue = Math.max(...this.litChartColumnCfg.data.map((it) => it[this.litChartColumnCfg!.yFie… variable
202 maxValue = Math.ceil(maxValue * 0.1) * 10;
206 let valGap = maxValue / 5;
210 label: `${getProbablyTime(maxValue - valGap * i)}`,
231 (litChartColumnItem[this.litChartColumnCfg!.yField] * partHeight) / maxValue +
232 (litChartColumnItem[this.litChartColumnCfg!.yField] * partHeight) / maxValue / 2,
235 … y: partHeight - (litChartColumnItem[this.litChartColumnCfg!.yField] * partHeight) / maxValue,
237 h: (litChartColumnItem[this.litChartColumnCfg!.yField] * partHeight) / maxValue,
240 …Step: Math.ceil((litChartColumnItem[this.litChartColumnCfg!.yField] * partHeight) / maxValue / 60),
254 let maxValue = Math.ceil(Math.max(...sums) * 0.1) * 10; variable
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/database/ui-worker/
DProcedureWorkerSmaps.ts37 maxValue: number;
70 SmapsStruct.draw(req.context, re, req.maxValue, drawColor, row.isHover);
100 let maxValue = 0;
102 if (smapsReq.params.maxValue != undefined || smapsReq.params.maxValueName != undefined) {
103 maxValue = smapsReq.params.maxValue;
138 SmapsStruct.draw(smapsReq.context, re, maxValue, drawColor, true);
208 static maxValue: number = 0; property in SmapsStruct
219 maxValue: number,
229 …psDrawHeight: number = Math.floor(((data.value || 0) * (data.frame.height || 0) * 1.0) / maxValue);
248 …et smapsDrawHeight: number = Math.floor(((data.value || 0) * (data.frame.height || 0)) / maxValue);
DProcedureWorkerClock.ts26 maxValue: number;
48 ClockStruct.draw(clockReq.context, re, clockReq.maxValue);
69 static maxValue: number = 0; property in ClockStruct
80 static draw(clockContext: CanvasRenderingContext2D, data: ClockStruct, maxValue: number) {
85 …t drawHeight: number = Math.floor(((data.value || 0) * (data.frame.height || 0) * 1.0) / maxValue);
DProcedureWorkerVirtualMemory.ts160 maxValue: number | undefined; property in VirtualMemoryStruct
166 virtualMemoryContext.fillStyle = ColorUtils.colorForTid(data.maxValue || 0);
167 virtualMemoryContext.strokeStyle = ColorUtils.colorForTid(data.maxValue || 0);
172 ((data.value || 0) * (data.frame.height || 0) * 1.0) / (data.maxValue || 1)
200 …t drawHeight: number = ((data.value || 0) * (data.frame.height || 0) * 1.0) / (data.maxValue || 1);
DProcedureWorkerMem.ts148 memContext.fillStyle = ColorUtils.colorForTid(data.maxValue || 0);
149 memContext.strokeStyle = ColorUtils.colorForTid(data.maxValue || 0);
154 ((data.value || 0) * (data.frame.height || 0) * 1.0) / (data.maxValue || 1)
173 …t drawHeight: number = ((data.value || 0) * (data.frame.height || 0) * 1.0) / (data.maxValue || 1);
/developtools/smartperf_host/ide/test/trace/database/ui-worker/
DProcedureWorkerHeapTimeline.test.ts55 maxValue: undefined,
76 maxValue: undefined,
DProcedureWorkerHeapSnapshot.test.ts84 maxValue: undefined,
107 maxValue: undefined,
DProcedureWorkerSnapshot.test.ts80 maxValue: undefined,
103 maxValue: undefined,
/developtools/smartperf_host/ide/test/trace/component/chart/
DSpHiSysEventChart.test.ts62 maxValue: 200,
66 maxValue: 300,

123