Home
last modified time | relevance | path

Searched refs:endNS (Results 1 – 25 of 215) sorted by relevance

123456789

/developtools/smartperf_host/ide/test/trace/database/data-trafic/utils/
DDataFilter.test.ts26 {startKey: 0, durKey: 100, startNS: 0, endNS: 1000},
27 {startKey: 100, durKey: 200, startNS: 1001, endNS: 2000},
32 let endNS = 2000; variable
34 let result = filterData(list, startKey, durKey, startNS, endNS, width);
36 {startKey: 0, durKey: 100, startNS: 0, endNS: 1000, v: true},
37 {startKey: 100, durKey: 200, startNS: 1001, endNS: 2000, v: true},
42 {startKey: 0, durKey: 100, startNS: 0, endNS: 1000},
43 {startKey: 100, durKey: 200, startNS: 1001, endNS: 2000},
49 let endNS = 2000; variable
51 let result = filterDataByLayer(list, layerKey, startKey, durKey, startNS, endNS, width);
[all …]
/developtools/smartperf_host/ide/src/trace/database/data-trafic/
DEBPFReceiver.ts20 ( startNS / ( ( ${args.endNS} - ${args.startNS} ) / ${args.width} ) ) AS px
33 AND startNs < ${Math.floor(args.endNS)}
49 and startNs < ${args.endNS}
57 ( startNS / ( ( ${args.endNS} - ${args.startNS} ) / ${args.width} ) ) AS px
68 and startNs < ${args.endNS}
83 and startNs < ${args.endNS}
90 args.endNS
119 args.endNS
149 args.endNS
209 let endNS = new Float64Array(transfer ? res.length : data.params.sharedArrayBuffers.endNS);
[all …]
DEBPFSender.ts28 endNS: new SharedArrayBuffer(Float64Array.BYTES_PER_ELEMENT * MAX_COUNT),
38 endNS: TraceRow.range?.endNS || 0,
65 endNS: new SharedArrayBuffer(Float64Array.BYTES_PER_ELEMENT * MAX_COUNT),
75 endNS: TraceRow.range?.endNS || 0,
97 endNS: new SharedArrayBuffer(Float64Array.BYTES_PER_ELEMENT * MAX_COUNT),
107 endNS: TraceRow.range?.endNS || 0,
124 let endNS = new Float64Array(buffers.endNS);
137 endNS: endNS[i],
DAbilityMonitorReceiver.ts93 … ((t.ts - ${args.recordStartNS}) / (${Math.floor((args.endNS - args.startNS) / args.width)})) as px
96 and startNs <= ${Math.floor(args.endNS)}
104 … ((t.ts - ${args.recordStartNS}) / (${Math.floor((args.endNS - args.startNS) / args.width)})) as px
107 and startNs <= ${Math.floor(args.endNS)}
115 … ((t.ts - ${args.recordStartNS}) / (${Math.floor((args.endNS - args.startNS) / args.width)})) as px
118 and startNs <= ${Math.floor(args.endNS)}
126 … ((t.ts - ${args.recordStartNS}) / (${Math.floor((args.endNS - args.startNS) / args.width)})) as px
130 and startNs <= ${Math.floor(args.endNS)}
138 … ((t.ts - ${args.recordStartNS}) / (${Math.floor((args.endNS - args.startNS) / args.width)})) as px
141 and startNs <= ${Math.floor(args.endNS)}
[all …]
/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorkerLog.ts40 TraceRow.range!.endNS,
58 endNS: number,
65 …er[i].startTs || 0) + (logFilter[i].dur || 0) >= startNS && (logFilter[i].startTs || 0) <= endNS) {
66 LogStruct.setLogFrame(logFilter[i], 0, startNS, endNS, totalNS, frame);
74 setLogFilter(logList, logFilter, startNS, endNS, totalNS, frame);
80 endNS: number,
88 … if ((itemLog.startTs ?? 0) + (itemLog.dur ?? 0) >= startNS && (itemLog.startTs ?? 0) <= endNS) {
94 let pre = ns2x(preData.startTs ?? 0, startNS, endNS, totalNS, frame);
95 let current = ns2x(itemLog.startTs || 0, startNS, endNS, totalNS, frame);
97 LogStruct.setLogFrame(itemLog, 0, startNS, endNS, totalNS, frame);
[all …]
DProcedureWorkerEBPF.ts35 TraceRow.range?.endNS ?? 0,
101 endNS: number,
109 setFrameGroupBy10MS(eBPFFilters, startNS, endNS, frame);
112 if (!groupBy10MS && eBPFFilters[0] && eBPFFilters[0].dur && eBPFFilters[0].endNS) {
113 setFrameByArr(eBPFFilters, startNS, endNS, frame, totalNS, isDiskIO);
117 function setFrameGroupBy10MS(eBPFFilters: Array<EBPFChartStruct>, startNS: number, endNS: number, f…
118 let pns = (endNS - startNS) / frame.width;
122 if ((it.startNS || 0) + (it.dur || 0) > startNS && (it.startNS || 0) < endNS) {
128 EBPFChartStruct.setFrame(it, pns, startNS, endNS, frame, true);
138 endNS: number,
[all …]
DProcedureWorkerHiSysEvent.ts42 endNS: TraceRow.range?.endNS ?? 0,
52 endNS: TraceRow.range?.endNS ?? 0,
76 endNS: number,
84 if ((item.startTs || 0) + (item.dur || 0) >= startNS && (item.startTs || 0) <= endNS) {
86 HiSysEventStruct.setSysEventFrame(item, startNS, endNS, totalNS, row.frame);
97 if ((item.startTs || 0) + (item.dur || 0) >= startNS && (item.startTs || 0) <= endNS) {
99 HiSysEventStruct.setSysEventFrame(item, startNS, endNS, totalNS, row.frame);
128 endNS: number,
134 if ((sysEventNode.startTs || 0) >= startNS && (sysEventNode.startTs || 0) <= endNS) {
135 x1 = ns2x(sysEventNode.startTs || 0, startNS, endNS, totalNS, frame);
[all …]
DProduceWorkerSdkSlice.ts38 TraceRow.range?.endNS ?? 0,
62 endNS: number,
71 if ((item.end_ts || 0) > startNS && (item.start_ts || 0) < endNS) {
72 … SdkSliceStruct.setSdkSliceFrame(sdkSliceFilters[index], 5, startNS, endNS, totalNS, frame);
82 setSdkSliceFilter(sdkList, sdkSliceFilters, startNS, endNS, totalNS, frame);
90 endNS: number,
99 item.end_ts = endNS;
102 if ((item.end_ts || 0) > startNS && (item.start_ts || 0) < endNS) {
103 SdkSliceStruct.setSdkSliceFrame(sdkList[index], 5, startNS, endNS, totalNS, frame);
160 endNS: number,
[all …]
DProcedureWorkerEnergySystem.ts42 TraceRow.range!.endNS || 0,
155 endNS: number,
162 systemItem.dur = (endNS || 0) - (systemItem.startNs || 0);
171 (systemItem.startNs || 0) < (endNS || 0)
173 … EnergySystemStruct.setSystemFrame(systemItem, 10, startNS || 0, endNS || 0, totalNS || 0, frame);
182 endNS: number,
201 systemData(lockData, startNS, endNS, totalNS, frame);
204 systemData(locationData, startNS, endNS, totalNS, frame);
207 systemData(workData, startNS, endNS, totalNS, frame);
212 setEnergySystemFilter(systemList, res, startNS, endNS, totalNS, frame);
[all …]
DProcedureWorkerProcess.ts32 TraceRow.range!.endNS || 0,
61 endNS: number,
68 res.forEach((it) => ProcessStruct.setProcessFrame(it, 5, startNS, endNS, totalNS, frame));
76 if ((it.startTime || 0) + (it.dur || 0) > startNS && (it.startTime || 0) < endNS) {
78 ProcessStruct.setProcessFrame(list[i], 5, startNS, endNS, totalNS, frame);
117 …static setFrame(processNode: ProcessStruct, pns: number, startNS: number, endNS: number, frame: Re…
123 if ((processNode.startTime || 0) + (processNode.dur || 0) > endNS) {
139 endNS: number,
148 x1 = ns2x(processNode.startTime || 0, startNS, endNS, totalNS, frame);
150 if ((processNode.startTime || 0) + (processNode.dur || 0) > endNS) {
[all …]
DProcedureWorkerDiskIoAbility.ts45 endNS: TraceRow.range?.endNS ?? 0,
84 endNS: number,
94 (diskIoAbilityItem.startNS || 0) < (endNS || 0)
96 …DiskAbilityMonitorStruct.setDiskIOFrame(diskIoAbilityItem, 5, startNS || 0, endNS || 0, totalNS ||…
104 setDiskIoAbilityFilter(diskIoAbilityList, res, startNS || 0, endNS || 0, totalNS || 0, frame);
110 endNS: number,
119 ? endNS - (item.startNS || 0)
121 if ((item.startNS || 0) + (item.dur || 0) > startNS && (item.startNS || 0) < endNS) {
122 …DiskAbilityMonitorStruct.setDiskIOFrame(diskIoAbilityList[index], 5, startNS, endNS, totalNS, fram…
192 endNS: number,
[all …]
DProcedureWorkerMemoryAbility.ts45 endNS: TraceRow.range?.endNS ?? 0,
85 endNS: number,
95 (memoryAbilityItem.startNS || 0) < endNS
97 … MemoryAbilityMonitorStruct.setMemoryFrame(memoryAbilityItem, 5, startNS, endNS, totalNS, frame);
105 setMemoryAbility(memoryAbilityList, res, startNS, endNS, totalNS, frame);
111 endNS: number,
120 ? (endNS || 0) - (item.startNS || 0)
123 if ((item.startNS || 0) + (item.dur || 0) > startNS && (item.startNS || 0) < endNS) {
124 MemoryAbilityMonitorStruct.setMemoryFrame(item, 5, startNS, endNS, totalNS, frame);
197 endNS: number,
[all …]
DProduceWorkerSdkCounter.ts38 TraceRow.range?.endNS ?? 0,
70 endNS: number,
79 if ((item.ts || 0) + (item.dur || 0) > startNS && (item.ts || 0) < endNS) {
80 … CounterStruct.setCounterFrame(sdkCounterFilters[index], 5, startNS, endNS, totalNS, frame);
89 setSdkCounterFilter(sdkCounterList, sdkCounterFilters, startNS, endNS, totalNS, frame);
96 endNS: number,
104 …item.dur = index === list.length - 1 ? endNS - (item.ts || 0) : (list[index + 1].ts || 0) - (item.…
106 if ((item.ts || 0) + (item.dur || 0) > startNS && (item.ts || 0) < endNS) {
107 CounterStruct.setCounterFrame(list[index], 5, startNS, endNS, totalNS, frame);
167 endNS: number,
[all …]
DProcedureWorkerEnergyState.ts36 TraceRow.range!.endNS || 0,
73 endNS: number,
82 stateItem.dur = endNS - (stateItem.startNs || 0);
86 …f ((stateItem.startNs || 0) + (stateItem.dur || 0) > startNS && (stateItem.startNs || 0) < endNS) {
87 EnergyStateStruct.setStateFrame(res[i], 5, startNS, endNS, totalNS, frame);
93 stateFilter(stateList, startNS, endNS, totalNS, frame, res);
98 endNS: number,
108 ? endNS - (item.startNs || 0)
110 if ((item.startNs || 0) + (item.dur || 0) > startNS && (item.startNs || 0) < endNS) {
111 EnergyStateStruct.setStateFrame(stateList[index], 5, startNS, endNS, totalNS, frame);
[all …]
DProcedureWorkerCommon.ts50 endNS!: number;
146 …let unitWidth = ((currentTs - preTs) * frameWidth) / (TraceRow.range!.endNS - TraceRow.range!.star…
155 endNS: number = 0;
170 let pns = (condition.endNS - condition.startNS) / condition.frame.width;
179 (it[condition.startKey] || 0) < condition.endNS
190 condition.endNS,
206 let pns = (condition.endNS - condition.startNS) / condition.frame.width;
218 (it[condition.startKey] || 0) < condition.endNS
229 condition.endNS,
253 return cfg.endNS >= stack[i][cfg.startKey] ? i : -1;
[all …]
DProcedureWorkerBpftrace.ts52 TraceRow.range!.endNS,
79 endNS: number,
88 …ampleFilter[i].end - startTS || 0) >= startNS && (sampleFilter[i].begin - startTS || 0) <= endNS) {
89 SampleStruct.setSampleFrame(sampleFilter[i], 0, startNS, endNS, totalNS, startTS, frame);
97 setSampleFilter(sampleList, sampleFilter, startNS, startTS, endNS, totalNS, frame);
105 endNS: number,
114 .filter((it) => (it.end - startTS ?? 0) >= startNS && (it.begin - startTS ?? 0) <= endNS)
117 SampleStruct.setSampleFrame(it, 0, startNS, endNS, totalNS, startTS, frame);
165 endNS: number,
171 … if ((sampleNode.begin! - startTS || 0) > startNS && (sampleNode.begin! - startTS || 0) < endNS) {
[all …]
DProcedureWorkerSoInit.ts45 TraceRow.range!.endNS,
89 endNS: number,
96 …lter[i].startTs || 0) + (soFilter[i].dur || 0) >= startNS && (soFilter[i].startTs || 0) <= endNS) {
97 SoStruct.setSoFrame(soFilter[i], 0, startNS, endNS, totalNS, frame);
107 .filter((it) => (it.startTs ?? 0) + (it.dur ?? 0) >= startNS && (it.startTs ?? 0) <= endNS)
109 SoStruct.setSoFrame(it, 0, startNS, endNS, totalNS, frame);
161 endNS: number,
167 if ((soNode.startTs || 0) > startNS && (soNode.startTs || 0) < endNS) {
168 x1 = ns2x(soNode.startTs || 0, startNS, endNS, totalNS, frame);
172 …startTs || 0) + (soNode.dur || 0) > startNS && (soNode.startTs || 0) + (soNode.dur || 0) < endNS) {
[all …]
DProcedureWorkerFPS.ts34 TraceRow.range!.endNS || 0,
68 endNS: number,
74 res.forEach((it) => FpsStruct.setFrame(it, 5, startNS, endNS, totalNS, frame));
86 it.dur = endNS - (it.startNS || 0);
90 if ((it.startNS || 0) + (it.dur || 0) > startNS && (it.startNS || 0) < endNS) {
91 FpsStruct.setFrame(list[i], 5, startNS, endNS, totalNS, frame);
153 endNS: number,
162 fpsLeftPointX = ns2x(fpsNode.startNS || 0, startNS, endNS, totalNS, frame);
164 if ((fpsNode.startNS || 0) + (fpsNode.dur || 0) > endNS) {
167 …fpsRightPointX = ns2x((fpsNode.startNS || 0) + (fpsNode.dur || 0), startNS, endNS, totalNS, frame);
/developtools/smartperf_host/ide/src/trace/database/data-trafic/utils/
DDataFilter.ts24 endNS: number,
27 let pns = (endNS - startNS) / width; //每个像素多少ns
28 let sliceArray = findRange(list, { startKey, durKey, startNS, endNS });
44 it[i][durKey] = (endNS || 0) - (it[i][startKey] || 0);
84 endNS: number,
91 let arr = findRange(list, { startKey, durKey, startNS, endNS });
94 it.px = Math.floor(it[startKey] / ((endNS - startNS) / width));
120 return filterDataByGroupWithoutValue(list, startKey, durKey, startNS, endNS, width);
129 endNS: number,
138 if (list[i][startKey] + list[i][durKey] >= startNS && list[i][startKey] <= endNS) {
[all …]
/developtools/smartperf_host/ide/src/trace/database/ui-worker/cpu/
DProcedureWorkerCpuState.ts45 endNS: TraceRow.range?.endNS ?? 0,
87 endNS: number,
94 let pns = (endNS - startNS) / frame.width;
100 if (list[j].startTs! <= endNS && jb) {
123 CpuStateStruct.setFrame(slice[i], 5, startNS, endNS, totalNS, frame);
136 CpuStateStruct.setFrame(slice[i], 5, startNS, endNS, totalNS, frame);
146 …setFrameByFilter(cpuStateRes: CpuStateStruct[], startNS: number, endNS: number, totalNS: number, f…
150 (cpuStateRes[i].startTs || 0) <= endNS
152 CpuStateStruct.setFrame(cpuStateRes[i], 5, startNS, endNS, totalNS, frame);
166 endNS: number,
[all …]
DProcedureWorkerCPU.ts51 cpuReqMessage.endNS,
80 let endNS = TraceRow.range!.endNS ?? 0;
86 endNS: endNS,
102 …drawWakeUp(req.ctx, CpuStruct.wakeupBean, startNS, endNS, totalNS, row.frame, wakeup, currentCpu, …
110 …drawWakeUpList(req.ctx, wake, startNS, endNS, totalNS, row.frame, wakeupListItem, currentCpu, true…
118 endNS: number,
124 this.setFrameCpuByRes(cpuRes, startNS, endNS, frame);
128 this.setFrameCpuByList(cpuRes, startNS, endNS, frame, cpuList);
132 setFrameCpuByRes(cpuRes: Array<CpuStruct>, startNS: number, endNS: number, frame: Rect): void {
133 let pns = (endNS - startNS) / frame.width;
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/timer-shaft/
DRangeRuler.ts79 endNS: number; property
218 this.range.endNS = (this.range.endX * this.range.totalNS) / (this.canvas?.clientWidth || 0);
231 let rangeRealW = (this.scale * this.frame.width) / (this.range.endNS - this.range.startNS);
250 while (tempNs < this.range.endNS - this.range.startNS) {
259 let l20 = (this.range.endNS - this.range.startNS) / 20;
498 if (this.range.endNS < 0) {
499 this.range.endNS = 0;
504 if (this.range.endNS > this.range.totalNS) {
505 this.range.endNS = this.range.totalNS;
511 this.range.endX = (this.range.endNS * (this.canvas?.clientWidth || 0)) / this.range.totalNS;
[all …]
/developtools/smartperf_host/ide/src/trace/database/ui-worker/hiperf/
DProcedureWorkerHiPerfReport.ts38 TraceRow.range?.endNS ?? 0,
94 function setFrameByfilter(startNS: number, endNS: number, frame: Rect, hiPerfFilters: Array<HiPerfR…
95 let pns = (endNS - startNS) / frame.width;
99 …(hiPerfData.startNS || 0) + (hiPerfData.dur || 0) > startNS && (hiPerfData.startNS || 0) < endNS) {
105 HiPerfReportStruct.setFrame(hiPerfData, pns, startNS, endNS, frame);
118 endNS: number,
123 let pns = (endNS - startNS) / frame.width;
127 .filter((it) => (it.startNS || 0) + (it.dur || 0) > startNS && (it.startNS || 0) < endNS)
134 HiPerfReportStruct.setFrame(it, pns, startNS, endNS, frame);
168 endNS: number,
[all …]
DProcedureWorkerHiPerfCallChart.ts39 TraceRow.range!.endNS,
106 endNS: number,
111 if ((hiPerfNode.startTime || 0) > startNS && (hiPerfNode.startTime || 0) < endNS) {
112 x1 = ns2x(hiPerfNode.startTime || 0, startNS, endNS, totalNS, frame);
118 (hiPerfNode.startTime || 0) + (hiPerfNode.totalTime || 0) < endNS
120 …x2 = ns2x((hiPerfNode.startTime || 0) + (hiPerfNode.totalTime || 0), startNS, endNS, totalNS, fram…
171 endNS: number,
182 (filter[i].startTime || 0) <= endNS
184 HiPerfCallChartStruct.setPerfFrame(filter[i], startNS, endNS, totalNS, frame);
198 (it.startTime ?? 0) <= endNS &&
[all …]
/developtools/smartperf_host/ide/src/trace/database/sql/
DIrq.sql.ts47 endNS: number
60 and max(i.ts - t.start_ts, ${startNS}) <= min(i.ts - t.start_ts + dur, ${endNS})
69 endNS: number
82 and max(i.ts - t.start_ts, ${startNS}) <= min(i.ts - t.start_ts + dur, ${endNS})

123456789