Home
last modified time | relevance | path

Searched refs:range (Results 1 – 25 of 223) sorted by relevance

123456789

/developtools/smartperf_host/ide/src/trace/component/trace/timer-shaft/
DRangeRuler.ts91 public range: TimeRange; property in RangeRuler
133 …constructor(timerShaftEL: TimerShaftElement, frame: Rect, range: TimeRange, notifyHandler: (r: Tim…
135 this.range = range;
141 new Rect(range.startX, frame.y, 1, frame.height)
147 new Rect(range.endX, frame.y, 1, frame.height)
149 this.rangeRect = new Rect(range.startX, frame.y, range.endX - range.startX, frame.height);
188 this.range.startX = this.rangeRect.x;
189 this.range.endX = this.rangeRect.x + this.rangeRect.width;
190 … this.range.startNS = (this.range.startX * this.range.totalNS) / (this.canvas?.clientWidth || 0);
191 this.range.endNS = (this.range.endX * this.range.totalNS) / (this.canvas?.clientWidth || 0);
[all …]
DSportRuler.ts109 get range(): TimeRange { method in SportRuler
113 set range(value: TimeRange) { method in SportRuler
174 this.range.xs?.forEach((item, index) => {
177 this.context2D.fillText(`${this.range.xsTxt[index]}`, item + 3, this.frame.y + 12);
183 if (flagObj.time >= this.range.startNS && flagObj.time <= this.range.endNS) {
185 … (this.rulerW * (flagObj.time - this.range.startNS)) / (this.range.endNS - this.range.startNS)
193 let range = TraceRow.rangeSelectObject;
202 …let start_X = ns2x(range?.startNS || 0, this.range.startNS, this.range.endNS, this.range.totalNS, …
203 …let endX = ns2x(range?.endNS || 0, this.range.startNS, this.range.endNS, this.range.totalNS, this.…
205 let txt = ns2s((range?.endNS || 0) - (range?.startNS || 0));
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/timer-shaft/
DRangeRuler.ts86 public range: TimeRange; property in RangeRuler
125 …constructor(timerShaftEL: TimerShaftElement, frame: Rect, range: TimeRange, notifyHandler: (r: Tim…
127 this.range = range;
133 new Rect(range.startX, frame.y, 1, frame.height)
139 new Rect(range.endX, frame.y, 1, frame.height)
141 this.rangeRect = new Rect(range.startX, frame.y, range.endX - range.startX, frame.height);
197 this.range.startX = this.rangeRect.x;
198 this.range.endX = this.rangeRect.x + this.rangeRect.width;
199 … this.range.startNS = (this.range.startX * this.range.totalNS) / (this.canvas?.clientWidth || 0);
200 this.range.endNS = (this.range.endX * this.range.totalNS) / (this.canvas?.clientWidth || 0);
[all …]
DSportRuler.ts109 get range(): TimeRange { method in SportRuler
113 set range(value: TimeRange) { method in SportRuler
174 this.range.xs?.forEach((item, index) => {
177 this.c.fillText(`${this.range.xsTxt[index]}`, item + 3, this.frame.y + 12);
183 if (flagObj.time >= this.range.startNS && flagObj.time <= this.range.endNS) {
185 … (this.rulerW * (flagObj.time - this.range.startNS)) / (this.range.endNS - this.range.startNS)
193 let range = TraceRow.rangeSelectObject;
202 …let start_X = ns2x(range?.startNS || 0, this.range.startNS, this.range.endNS, this.range.totalNS, …
203 …let endX = ns2x(range?.endNS || 0, this.range.startNS, this.range.endNS, this.range.totalNS, this.…
205 let txt = ns2s((range?.endNS || 0) - (range?.startNS || 0));
[all …]
/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorkerTimeline.ts107 sportRuler.range = a;
226 get range(): TimeRange {
230 set range(value: TimeRange) {
274 this.range.xs?.forEach((it, i) => {
277 this.c.fillText(`+${this.range.xsTxt[i]}`, it + 3, this.frame.y + 12);
344 … (this.ruler_w * (flagObj.time - this.range.startNS)) / (this.range.endNS - this.range.startNS)
411 public range: TimeRange;
443 range: TimeRange,
447 this.range = range;
449 this.markA = new Mark(canvas, 'A', c, new Rect(range.startX, frame.y, 1, frame.height));
[all …]
DProcedureWorkerEnergyPower.ts39 TraceRow.range!.startNS,
40 TraceRow.range!.endNS,
41 TraceRow.range!.totalNS,
43 powerReq.useCache || !TraceRow.range!.refresh,
57 TraceRow.range!.refresh = true;
84 energyPowerRequest.useCache || !energyPowerRequest.range.refresh,
106 !energyPowerRequest.range.refresh &&
377 TraceRow.range!.startNS,
378 TraceRow.range!.endNS,
379 TraceRow.range!.totalNS,
[all …]
DProcedureWorkerThread.ts43 startNS: TraceRow.range?.startNS ?? 0,
44 endNS: TraceRow.range?.endNS ?? 0,
45 totalNS: TraceRow.range?.totalNS ?? 0,
48 useCache: threadReq.useCache || !(TraceRow.range?.refresh ?? false),
/developtools/profiler/host/smartperf/ide/src/trace/database/ui-worker/
DProcedureWorkerTimeline.ts107 sportRuler.range = a;
226 get range(): TimeRange {
230 set range(value: TimeRange) {
274 this.range.xs?.forEach((it, i) => {
277 this.c.fillText(`+${this.range.xsTxt[i]}`, it + 3, this.frame.y + 12);
344 … (this.ruler_w * (flagObj.time - this.range.startNS)) / (this.range.endNS - this.range.startNS)
411 public range: TimeRange;
443 range: TimeRange,
447 this.range = range;
449 this.markA = new Mark(canvas, 'A', c, new Rect(range.startX, frame.y, 1, frame.height));
[all …]
DProcedureWorkerEnergyPower.ts39 TraceRow.range!.startNS,
40 TraceRow.range!.endNS,
41 TraceRow.range!.totalNS,
43 powerReq.useCache || !TraceRow.range!.refresh,
57 TraceRow.range!.refresh = true;
84 energyPowerRequest.useCache || !energyPowerRequest.range.refresh,
106 !energyPowerRequest.range.refresh &&
377 TraceRow.range!.startNS,
378 TraceRow.range!.endNS,
379 TraceRow.range!.totalNS,
[all …]
DProcedureWorkerHeapTimeline.ts36 TraceRow.range?.startNS ?? 0,
37 TraceRow.range?.endNS ?? 0,
38 (TraceRow.range?.endNS ?? 0) - (TraceRow.range?.startNS! ?? 0),
/developtools/smartperf_host/ide/test/trace/database/ui-worker/
DProcedureWorkerFrameAnimation.test.ts58 TraceRow.range = {
68 TraceRow.range.startNS,
69 TraceRow.range.endNS,
70 TraceRow.range.totalNS,
DProcedureWorkerFrameSpacing.test.ts43 TraceRow.range = {
103 TraceRow.range.startNS,
104 TraceRow.range.endNS,
105 TraceRow.range.totalNS,
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/cpu/
DTabPaneCpuUsage.ts26 private range: HTMLLabelElement | null | undefined; property in TabPaneCpuUsage
37 this.range!.textContent =
48 let range = cpuUsageValue.rightNs - cpuUsageValue.leftNs;
84 this.getFreqTop3(usage, arr[0], arr[1], arr[2], range);
95 this.range = this.shadowRoot?.querySelector('#time-range');
146 …getFreqTop3(usage: CpuUsage, top1: Array<number>, top2: Array<number>, top3: Array<number>, range:…
149 usage.top1Percent = top1 == undefined ? 0 : (top1[1] * 1.0) / range;
153 usage.top2Percent = top2 == undefined ? 0 : (top2[1] * 1.0) / range;
157 usage.top3Percent = top3 == undefined ? 0 : (top3[1] * 1.0) / range;
DTabPaneSPT.ts27 private range: HTMLLabelElement | null | undefined; property in TabPaneSPT
38 this.range!.textContent =
49 this.range = this.shadowRoot?.querySelector('#spt-time-range');
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/cpu/
DTabPaneCpuUsage.ts26 private range: HTMLLabelElement | null | undefined; property in TabPaneCpuUsage
37 this.range!.textContent =
48 let range = cpuUsageValue.rightNs - cpuUsageValue.leftNs;
84 this.getFreqTop3(usage, arr[0], arr[1], arr[2], range);
95 this.range = this.shadowRoot?.querySelector('#time-range');
146 …getFreqTop3(usage: CpuUsage, top1: Array<number>, top2: Array<number>, top3: Array<number>, range:…
149 usage.top1Percent = top1 == undefined ? 0 : (top1[1] * 1.0) / range;
153 usage.top2Percent = top2 == undefined ? 0 : (top2[1] * 1.0) / range;
157 usage.top3Percent = top3 == undefined ? 0 : (top3[1] * 1.0) / range;
DTabPaneSPT.ts27 private range: HTMLLabelElement | null | undefined; property in TabPaneSPT
38 this.range!.textContent =
49 this.range = this.shadowRoot?.querySelector('#spt-time-range');
/developtools/profiler/host/smartperf/ide/src/trace/component/chart/
DSpHiPerf.ts175 scale: TraceRow.range?.scale || 50,
179 range: TraceRow.range,
212 scale: TraceRow.range?.scale || 50,
216 range: TraceRow.range,
248 scale: TraceRow.range?.scale || 50,
252 range: TraceRow.range,
282 scale: TraceRow.range?.scale || 50,
286 range: TraceRow.range,
326 scale: TraceRow.range?.scale || 50,
329 range: TraceRow.range,
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/frame/
DTabPaneFrameDynamic.ts27 private range: HTMLLabelElement | null | undefined; property in TabPaneFrameDynamic
33 this.range!.textContent = `Selected range: ${parseFloat(((frameDynamicParam.rightNs -
40 this.range!.style.visibility = 'hidden';
42 this.range!.style.visibility = 'visible';
58 this.range = this.shadowRoot?.querySelector('#frame-dynamic-time-range');
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/base/
DRangeSelect.ts143 ((TraceRow.rangeSelectObject!.startNS! - TraceRow.range!.startNS) *
145 (TraceRow.range!.endNS - TraceRow.range!.startNS);
147 ((TraceRow.rangeSelectObject!.endNS! - TraceRow.range!.startNS) *
149 (TraceRow.range!.endNS - TraceRow.range!.startNS);
183 if (rangeSelect.startNS <= TraceRow.range!.startNS) {
184 rangeSelect.startNS = TraceRow.range!.startNS;
186 if (rangeSelect.endNS >= TraceRow.range!.endNS) {
187 rangeSelect.endNS = TraceRow.range!.endNS;
273 …((TraceRow.range!.endNS - TraceRow.range!.startNS) * num) / row.frame.width + TraceRow.range!.star…
/developtools/smartperf_host/ide/src/trace/component/trace/base/
DRangeSelect.ts145 ((TraceRow.rangeSelectObject!.startNS! - TraceRow.range!.startNS) *
147 (TraceRow.range!.endNS - TraceRow.range!.startNS);
149 ((TraceRow.rangeSelectObject!.endNS! - TraceRow.range!.startNS) *
151 (TraceRow.range!.endNS - TraceRow.range!.startNS);
185 if (rangeSelect.startNS <= TraceRow.range!.startNS) {
186 rangeSelect.startNS = TraceRow.range!.startNS;
188 if (rangeSelect.endNS >= TraceRow.range!.endNS) {
189 rangeSelect.endNS = TraceRow.range!.endNS;
274 …((TraceRow.range!.endNS - TraceRow.range!.startNS) * num) / row.frame.width + TraceRow.range!.star…
/developtools/profiler/host/smartperf/ide/src/trace/component/
DSpRecyclerSystemTrace.ts66 private range: TimeRange | undefined; property in SpRecyclerSystemTrace
159 this.range = e.detail;
160 TraceRow.range = this.range;
378 startNS: TraceRow.range?.startNS || 0,
379 endNS: TraceRow.range?.endNS || 0,
380 totalNS: TraceRow.range?.totalNS || 0,
439 startNS: TraceRow.range?.startNS || 0,
440 endNS: TraceRow.range?.endNS || 0,
441 totalNS: TraceRow.range?.totalNS || 0,
496 it.dur = (TraceRow.range?.endNS || 0) - (it.startNS || 0);
[all …]
/developtools/smartperf_host/ide/src/trace/component/
DSpRecyclerSystemTrace.ts66 private range: TimeRange | undefined; property in SpRecyclerSystemTrace
159 this.range = e.detail;
160 TraceRow.range = this.range;
378 startNS: TraceRow.range?.startNS || 0,
379 endNS: TraceRow.range?.endNS || 0,
380 totalNS: TraceRow.range?.totalNS || 0,
439 startNS: TraceRow.range?.startNS || 0,
440 endNS: TraceRow.range?.endNS || 0,
441 totalNS: TraceRow.range?.totalNS || 0,
496 it.dur = (TraceRow.range?.endNS || 0) - (it.startNS || 0);
[all …]
/developtools/smartperf_host/ide/src/trace/component/chart/
DSpHiPerf.ts172 scale: TraceRow.range?.scale || 50,
176 range: TraceRow.range,
209 scale: TraceRow.range?.scale || 50,
213 range: TraceRow.range,
255 scale: TraceRow.range?.scale || 50,
258 range: TraceRow.range,
290 scale: TraceRow.range?.scale || 50,
293 range: TraceRow.range,
/developtools/ace_js2bundle/ace-loader/plugin/templater/
Dcontent.js86 if (parent.type === "Property" && parent.key.range[0] === parent.value.range[0] &&
87 parent.key.range[1] === parent.value.range[1]) {
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/gpu/
DTabPaneGpuGL.ts37 private range: HTMLLabelElement | null | undefined; property in TabPaneGpuGL
48 …this.range!.textContent = 'Selected range: ' + ((glParam.rightNs - glParam.leftNs) / 1000000.0).to…
74 this.range = this.shadowRoot?.querySelector('#gl-time-range');

123456789