Home
last modified time | relevance | path

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

123456789

/developtools/smartperf_host/ide/src/trace/component/trace/timer-shaft/
DRangeRuler.ts91 public range: TimeRange; property in RangeRuler
135 …constructor(timerShaftEL: TimerShaftElement, frame: Rect, range: TimeRange, notifyHandler: (r: Tim…
137 this.range = range;
143 new Rect(range.startX, frame.y, 1, frame.height)
149 new Rect(range.endX, frame.y, 1, frame.height)
151 this.rangeRect = new Rect(range.startX, frame.y, range.endX - range.startX, frame.height);
215 this.range.startX = this.rangeRect.x;
216 this.range.endX = this.rangeRect.x + this.rangeRect.width;
217 … this.range.startNS = (this.range.startX * this.range.totalNS) / (this.canvas?.clientWidth || 0);
218 this.range.endNS = (this.range.endX * this.range.totalNS) / (this.canvas?.clientWidth || 0);
[all …]
DSportRuler.ts115 get range(): TimeRange { method in SportRuler
119 set range(value: TimeRange) { method in SportRuler
174 if (flagObj.time >= this.range.startNS && flagObj.time <= this.range.endNS) {
176 … (this.rulerW * (flagObj.time - this.range.startNS)) / (this.range.endNS - this.range.startNS)
220 this.range.xs?.forEach((item, index) => {
223 this.context2D.fillText(`${this.range.xsTxt[index]}`, item + 3, this.frame.y + 12);
230 let range = TraceRow.rangeSelectObject;
239 …let startX = ns2x(range?.startNS || 0, this.range.startNS, this.range.endNS, this.range.totalNS, t…
240 …let endX = ns2x(range?.endNS || 0, this.range.startNS, this.range.endNS, this.range.totalNS, this.…
242 let txt = ns2s((range?.endNS || 0) - (range?.startNS || 0));
[all …]
/developtools/smartperf_host/ide/src/trace/database/data-trafic/
DVmTrackerDataSender.ts34 startNs: TraceRow.range?.startNS || 0,
35 endNs: TraceRow.range?.endNS || 0,
63 startNs: TraceRow.range?.startNS || 0,
64 endNs: TraceRow.range?.endNS || 0,
92 startNs: TraceRow.range?.startNS || 0,
93 endNs: TraceRow.range?.endNS || 0,
120 startNs: TraceRow.range?.startNS || 0,
121 endNs: TraceRow.range?.endNS || 0,
149 startNs: TraceRow.range?.startNS || 0,
150 endNs: TraceRow.range?.endNS || 0,
[all …]
DEBPFSender.ts37 startNS: TraceRow.range?.startNS || 0,
38 endNS: TraceRow.range?.endNS || 0,
74 startNS: TraceRow.range?.startNS || 0,
75 endNS: TraceRow.range?.endNS || 0,
106 startNS: TraceRow.range?.startNS || 0,
107 endNS: TraceRow.range?.endNS || 0,
DNativeMemoryDataSender.ts30 startNS: TraceRow.range?.startNS || 0,
31 endNS: TraceRow.range?.endNS || 0,
32 totalNS: (TraceRow.range?.endNS || 0) - (TraceRow.range?.startNS || 0),
DEnergySysEventSender.ts46 startNS: TraceRow.range?.startNS || 0,
47 endNS: TraceRow.range?.endNS || 0,
70 startNS: TraceRow.range?.startNS || 0,
71 endNS: TraceRow.range?.endNS || 0,
98 startNS: TraceRow.range?.startNS || 0,
99 endNS: TraceRow.range?.endNS || 0,
132 startNS: TraceRow.range?.startNS || 0,
133 endNS: TraceRow.range?.endNS || 0,
DAbilityMonitorSender.ts52 startNS: TraceRow.range?.startNS || 0,
53 endNS: TraceRow.range?.endNS || 0,
80 startNS: TraceRow.range?.startNS || 0,
81 endNS: TraceRow.range?.endNS || 0,
123 startNS: TraceRow.range?.startNS || 0,
124 endNS: TraceRow.range?.endNS || 0,
162 startNS: TraceRow.range?.startNS || 0,
163 endNS: TraceRow.range?.endNS || 0,
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/cpu/
DTabPaneCpuUsage.ts26 private range: HTMLLabelElement | null | undefined; property in TabPaneCpuUsage
36 this.range!.textContent =
51 let range = cpuUsageValue.rightNs - cpuUsageValue.leftNs;
66 this.handleUsage(freqMap, usage, cpuUsageValue, range);
74 …(freqMap: Map<number, Array<Freq>>, usage: CpuUsage, cpuUsageValue: unknown, range: number): void {
102 this.getFreqTop3(usage, arr[0], arr[1], arr[2], range);
108 this.range = this.shadowRoot?.querySelector('#time-range');
161 …getFreqTop3(usage: CpuUsage, top1: Array<number>, top2: Array<number>, top3: Array<number>, range:…
164 usage.top1Percent = top1 === undefined ? 0 : (top1[1] * 1.0) / range;
168 usage.top2Percent = top2 === undefined ? 0 : (top2[1] * 1.0) / range;
[all …]
/developtools/smartperf_host/ide/test/trace/database/ui-worker/
DProcedureWorkerFrameAnimation.test.ts57 TraceRow.range = {
67 TraceRow.range.startNS,
68 TraceRow.range.endNS,
69 TraceRow.range.totalNS,
100 range: { variable
DProcedureWorkerHiPerfCallChart.test.ts97 range: { constant
127 TraceRow.range = jest.fn(() => true);
128 TraceRow.range!.startNS = jest.fn(() => 0);
129 TraceRow.range!.endNS = jest.fn(() => 27763331331);
130 TraceRow.range!.totalNS = jest.fn(() => 27763331331);
DProcedureWorkerEnergyPower.test.ts63 TraceRow.range = jest.fn(() => true);
64 TraceRow.range!.startNS = jest.fn(() => 0);
65 TraceRow.range!.endNS = jest.fn(() => 27763331331);
66 TraceRow.range!.totalNS = jest.fn(() => 27763331331);
198 range: { variable
232 TraceRow.range = jest.fn(() => true);
233 TraceRow.range!.startNS = jest.fn(() => 0);
DProcedureWorkerMem.test.ts102 range: { variable
133 TraceRow.range = jest.fn(() => true);
134 TraceRow.range!.startNS = jest.fn(() => 0);
135 TraceRow.range!.endNS = jest.fn(() => 27763331331);
136 TraceRow.range!.totalNS = jest.fn(() => 27763331331);
DProcedureWorkerFrameSpacing.test.ts42 TraceRow.range = {
102 TraceRow.range.startNS,
103 TraceRow.range.endNS,
104 TraceRow.range.totalNS,
DProcedureWorkerCpuAbility.test.ts81 startNS: TraceRow.range?.startNS ?? 0,
82 endNS: TraceRow.range?.endNS ?? 0,
83 totalNS: TraceRow.range?.totalNS ?? 0,
105 range: { variable
/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(
41 this.range!.style.visibility = 'hidden';
43 this.range!.style.visibility = 'visible';
59 this.range = this.shadowRoot?.querySelector('#frame-dynamic-time-range');
/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorkerHiSysEvent.ts41 startNS: TraceRow.range?.startNS ?? 0,
42 endNS: TraceRow.range?.endNS ?? 0,
43 totalNS: TraceRow.range?.totalNS ?? 0,
46 useCache: req.useCache || !(TraceRow.range?.refresh ?? false),
51 startNS: TraceRow.range?.startNS ?? 0,
52 endNS: TraceRow.range?.endNS ?? 0,
53 totalNS: TraceRow.range?.totalNS ?? 0,
56 useCache: req.useCache || !(TraceRow.range?.refresh ?? false),
DprocedureWorkerBinder.ts38 startNS: TraceRow.range?.startNS ?? 0,
39 endNS: TraceRow.range?.endNS ?? 0,
40 totalNS: TraceRow.range?.totalNS ?? 0,
43 useCache: freqReq.useCache || !(TraceRow.range?.refresh ?? false),
109 TraceRow.range!.startNS,
110 TraceRow.range!.endNS,
111 TraceRow.range!.totalNS,
DProcedureWorkerFreqExtend.ts39 startNS: TraceRow.range?.startNS ?? 0,
40 endNS: TraceRow.range?.endNS ?? 0,
41 totalNS: TraceRow.range?.totalNS ?? 0,
44 useCache: freqReq.useCache || !(TraceRow.range?.refresh ?? false),
127 TraceRow.range!.startNS,
128 TraceRow.range!.endNS,
129 TraceRow.range!.totalNS,
DProcedureWorkerEnergyPower.ts37 TraceRow.range!.startNS,
38 TraceRow.range!.endNS,
39 TraceRow.range!.totalNS,
41 powerReq.useCache || !TraceRow.range!.refresh,
58 TraceRow.range!.refresh = true;
246 let startNS = TraceRow.range!.startNS;
247 let endNS = TraceRow.range!.endNS;
248 let totalNS = TraceRow.range!.totalNS;
273 TraceRow.range!.startNS,
274 TraceRow.range!.endNS,
[all …]
DProcedureWorkerThread.ts50 startNS: TraceRow.range?.startNS ?? 0,
51 endNS: TraceRow.range?.endNS ?? 0,
52 totalNS: TraceRow.range?.totalNS ?? 0,
55 useCache: threadReq.useCache || !(TraceRow.range?.refresh ?? false),
170 TraceRow.range!.startNS,
171 TraceRow.range!.endNS,
172 TraceRow.range!.totalNS,
/developtools/smartperf_host/ide/src/trace/component/trace/base/
DRangeSelect.ts375 if (rangeSelect.startNS <= TraceRow.range!.startNS) {
376 rangeSelect.startNS = TraceRow.range!.startNS;
378 if (rangeSelect.endNS >= TraceRow.range!.endNS) {
379 rangeSelect.endNS = TraceRow.range!.endNS;
400 ((TraceRow.rangeSelectObject!.startNS! - TraceRow.range!.startNS) *
402 (TraceRow.range!.endNS - TraceRow.range!.startNS);
404 …((TraceRow.rangeSelectObject!.endNS! - TraceRow.range!.startNS) * (this.timerShaftEL?.canvas?.clie…
405 (TraceRow.range!.endNS - TraceRow.range!.startNS);
425 …((TraceRow.range!.endNS - TraceRow.range!.startNS) * num) / row.frame.width + TraceRow.range!.star…
/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/
DTabPaneGraph.ts36 private range: HTMLLabelElement | null | undefined; property in TabPaneGpuGraph
48 this.range!.textContent =
79 this.range = this.shadowRoot?.querySelector('#graph-time-range');
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/hilog/
DTabPaneHilogs.test.ts64 TraceRow.range = jest.fn(() => true);
65 TraceRow.range!.startNS = jest.fn(() => 0);
66 TraceRow.range!.endNS = jest.fn(() => 27763331331);
67 TraceRow.range!.totalNS = jest.fn(() => 27763331331);
/developtools/smartperf_host/ide/src/trace/database/data-trafic/hiperf/
DHiperfCallChartSender.ts32 startNS: TraceRow.range?.startNS || 0,
33 endNS: TraceRow.range?.endNS || 0,
34 totalNS: (TraceRow.range?.endNS || 0) - (TraceRow.range?.startNS || 0),

123456789