/developtools/smartperf_host/ide/src/trace/database/data-trafic/ |
D | EBPFReceiver.ts | 20 ( 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} 88 ( startNS / ( ( ${args.endNS} - ${args.startNS} ) / ${args.width} ) ) AS px 99 and startNs < ${args.endNS} 114 and startNs < ${args.endNS} 156 let endNS = new Float64Array(transfer ? res.length : data.params.sharedArrayBuffers.endNS); [all …]
|
D | EBPFSender.ts | 28 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, 123 let endNS = new Float64Array(buffers.endNS); 132 endNS: endNS[i],
|
/developtools/smartperf_host/ide/src/trace/database/ui-worker/ |
D | ProcedureWorkerLog.ts | 40 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 …]
|
D | ProcedureWorkerEBPF.ts | 45 TraceRow.range?.endNS ?? 0, 106 endNS: number, 114 setFrameGroupBy10MS(eBPFFilters, startNS, endNS, frame); 117 if (!groupBy10MS && eBPFFilters[0] && eBPFFilters[0].dur && eBPFFilters[0].endNS) { 118 setFrameByArr(eBPFFilters, startNS, endNS, frame, totalNS, isDiskIO); 122 function setFrameGroupBy10MS(eBPFFilters: Array<any>, startNS: number, endNS: number, frame: Rect) { 123 let pns = (endNS - startNS) / frame.width; 127 if ((it.startNS || 0) + (it.size || 0) > startNS && (it.startNS || 0) < endNS) { 133 EBPFChartStruct.setFrame(it, pns, startNS, endNS, frame, true); 143 endNS: number, [all …]
|
D | ProcedureWorkerHiSysEvent.ts | 43 endNS: TraceRow.range?.endNS ?? 0, 53 endNS: TraceRow.range?.endNS ?? 0, 77 endNS: number, 85 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) { 98 HiSysEventStruct.setSysEventFrame(item, startNS, endNS, totalNS, row.frame); 127 endNS: number, 132 if ((sysEventNode.startTs || 0) >= startNS && (sysEventNode.startTs || 0) <= endNS) { 133 x1 = ns2x(sysEventNode.startTs || 0, startNS, endNS, totalNS, frame); [all …]
|
D | ProduceWorkerSdkSlice.ts | 38 TraceRow.range?.endNS ?? 0, 62 endNS: number, 70 if ((item.end_ts || 0) > startNS && (item.start_ts || 0) < endNS) { 71 … SdkSliceStruct.setSdkSliceFrame(sdkSliceFilters[index], 5, startNS, endNS, totalNS, frame); 80 setSdkSliceFilter(sdkList, sdkSliceFilters, startNS, endNS, totalNS, frame); 88 endNS: number, 95 item.end_ts = endNS; 97 if ((item.end_ts || 0) > startNS && (item.start_ts || 0) < endNS) { 98 SdkSliceStruct.setSdkSliceFrame(sdkList[index], 5, startNS, endNS, totalNS, frame); 154 endNS: number, [all …]
|
D | ProcedureWorkerEnergySystem.ts | 41 TraceRow.range!.endNS || 0, 125 export function systemData(data: Array<any>, startNS: number, endNS: number, totalNS: number, frame… 129 systemItem.dur = (endNS || 0) - (systemItem.startNs || 0); 138 (systemItem.startNs || 0) < (endNS || 0) 140 … EnergySystemStruct.setSystemFrame(systemItem, 10, startNS || 0, endNS || 0, totalNS || 0, frame); 149 endNS: number, 168 systemData(lockData, startNS, endNS, totalNS, frame); 171 systemData(locationData, startNS, endNS, totalNS, frame); 174 systemData(workData, startNS, endNS, totalNS, frame); 179 setEnergySystemFilter(systemList, res, startNS, endNS, totalNS, frame); [all …]
|
D | ProcedureWorkerMemoryAbility.ts | 44 endNS: TraceRow.range?.endNS ?? 0, 83 endNS: number, 93 (memoryAbilityItem.startNS || 0) < endNS 95 … MemoryAbilityMonitorStruct.setMemoryFrame(memoryAbilityItem, 5, startNS, endNS, totalNS, frame); 103 setMemoryAbility(memoryAbilityList, res, startNS, endNS, totalNS, frame); 109 endNS: number, 118 ? (endNS || 0) - (item.startNS || 0) 120 if ((item.startNS || 0) + (item.dur || 0) > startNS && (item.startNS || 0) < endNS) { 121 MemoryAbilityMonitorStruct.setMemoryFrame(item, 5, startNS, endNS, totalNS, frame); 188 …static setMemoryFrame(memoryNode: any, padding: number, startNS: number, endNS: number, totalNS: n… [all …]
|
D | ProcedureWorkerProcess.ts | 40 TraceRow.range!.endNS || 0, 62 endNS: number, 68 res.forEach((it) => ProcessStruct.setProcessFrame(it, 5, startNS, endNS, totalNS, frame)); 75 if ((it.startTime || 0) + (it.dur || 0) > startNS && (it.startTime || 0) < endNS) { 76 ProcessStruct.setProcessFrame(processList[i], 5, startNS, endNS, totalNS, frame); 113 static setFrame(processNode: any, pns: number, startNS: number, endNS: number, frame: any) { 119 if ((processNode.startTime || 0) + (processNode.dur || 0) > endNS) { 135 endNS: number, 144 x1 = ns2x(processNode.startTime || 0, startNS, endNS, totalNS, frame); 146 if ((processNode.startTime || 0) + (processNode.dur || 0) > endNS) { [all …]
|
D | ProcedureWorkerEnergyState.ts | 36 TraceRow.range!.endNS || 0, 71 endNS: number, 80 stateItem.dur = endNS - (stateItem.startNs || 0); 84 …f ((stateItem.startNs || 0) + (stateItem.dur || 0) > startNS && (stateItem.startNs || 0) < endNS) { 85 EnergyStateStruct.setStateFrame(res[i], 5, startNS, endNS, totalNS, frame); 91 stateFilter(stateList, startNS, endNS, totalNS, frame, res); 96 endNS: number, 106 ? endNS - (item.startNs || 0) 108 if ((item.startNs || 0) + (item.dur || 0) > startNS && (item.startNs || 0) < endNS) { 109 EnergyStateStruct.setStateFrame(stateList[index], 5, startNS, endNS, totalNS, frame); [all …]
|
D | ProcedureWorkerDiskIoAbility.ts | 44 endNS: TraceRow.range?.endNS ?? 0, 83 endNS: number, 93 (diskIoAbilityItem.startNS || 0) < (endNS || 0) 95 …DiskAbilityMonitorStruct.setDiskIOFrame(diskIoAbilityItem, 5, startNS || 0, endNS || 0, totalNS ||… 103 setDiskIoAbilityFilter(diskIoAbilityList, res, startNS || 0, endNS || 0, totalNS || 0, frame); 109 endNS: number, 118 ? endNS - (item.startNS || 0) 120 if ((item.startNS || 0) + (item.dur || 0) > startNS && (item.startNS || 0) < endNS) { 121 …DiskAbilityMonitorStruct.setDiskIOFrame(diskIoAbilityList[index], 5, startNS, endNS, totalNS, fram… 187 …static setDiskIOFrame(diskIONode: any, padding: number, startNS: number, endNS: number, totalNS: n… [all …]
|
D | ProduceWorkerSdkCounter.ts | 38 TraceRow.range?.endNS ?? 0, 70 endNS: number, 78 if ((item.ts || 0) + (item.dur || 0) > startNS && (item.ts || 0) < endNS) { 79 … CounterStruct.setCounterFrame(sdkCounterFilters[index], 5, startNS, endNS, totalNS, frame); 87 setSdkCounterFilter(sdkCounterList, sdkCounterFilters, startNS, endNS, totalNS, frame); 94 endNS: number, 103 ? endNS - (item.ts || 0) 105 if ((item.ts || 0) + (item.dur || 0) > startNS && (item.ts || 0) < endNS) { 106 CounterStruct.setCounterFrame(sdkCounterList[index], 5, startNS, endNS, totalNS, frame); 164 endNS: number, [all …]
|
D | ProcedureWorkerCommon.ts | 49 endNS: any; 145 …let unitWidth = ((currentTs - preTs) * frameWidth) / (TraceRow.range!.endNS - TraceRow.range!.star… 154 endNS: number = 0; 165 let pns = (condition.endNS - condition.startNS) / condition.frame.width; 172 (it[condition.startKey] || 0) < condition.endNS 183 condition.endNS, 199 let pns = (condition.endNS - condition.startNS) / condition.frame.width; 207 (it[condition.startKey] || 0) < condition.endNS 218 condition.endNS, 239 return cfg.endNS >= stack[i][cfg.startKey] ? i : -1; [all …]
|
D | ProcedureWorkerSoInit.ts | 36 TraceRow.range!.endNS, 76 endNS: number, 83 …lter[i].startTs || 0) + (soFilter[i].dur || 0) >= startNS && (soFilter[i].startTs || 0) <= endNS) { 84 SoStruct.setSoFrame(soFilter[i], 0, startNS, endNS, totalNS, frame); 94 .filter((it) => (it.startTs ?? 0) + (it.dur ?? 0) >= startNS && (it.startTs ?? 0) <= endNS) 96 SoStruct.setSoFrame(it, 0, startNS, endNS, totalNS, frame); 137 …static setSoFrame(soNode: any, padding: number, startNS: number, endNS: number, totalNS: number, f… 140 if ((soNode.startTs || 0) > startNS && (soNode.startTs || 0) < endNS) { 141 x1 = ns2x(soNode.startTs || 0, startNS, endNS, totalNS, frame); 145 …startTs || 0) + (soNode.dur || 0) > startNS && (soNode.startTs || 0) + (soNode.dur || 0) < endNS) { [all …]
|
D | ProcedureWorkerFPS.ts | 34 TraceRow.range!.endNS || 0, 66 endNS: number, 72 res.forEach((it) => FpsStruct.setFrame(it, 5, startNS, endNS, totalNS, frame)); 84 it.dur = endNS - (it.startNS || 0); 88 if ((it.startNS || 0) + (it.dur || 0) > startNS && (it.startNS || 0) < endNS) { 89 FpsStruct.setFrame(list[i], 5, startNS, endNS, totalNS, frame); 147 …static setFrame(fpsNode: FpsStruct, padding: number, startNS: number, endNS: number, totalNS: numb… 152 fpsLeftPointX = ns2x(fpsNode.startNS || 0, startNS, endNS, totalNS, frame); 154 if ((fpsNode.startNS || 0) + (fpsNode.dur || 0) > endNS) { 157 …fpsRightPointX = ns2x((fpsNode.startNS || 0) + (fpsNode.dur || 0), startNS, endNS, totalNS, frame);
|
D | ProcedureWorkerFrameDynamic.ts | 55 if (currDynamic.ts > TraceRow.range!.startNS && currDynamic.ts < TraceRow.range!.endNS) { 103 let endNS: number = TraceRow.range!.endNS; 127 …this.refreshFilterDynamicFrame(dynamicList, currentDynamic, frame, startNS, endNS, totalNS, groupI… 129 …if (currentDynamic.ts >= startNS && currentDynamic.ts <= endNS && currentDynamic.groupId !== inval… 130 …this.refreshFilterDynamicFrame(dynamicList, currentDynamic, frame, startNS, endNS, totalNS, groupI… 132 if (currentDynamic.ts >= endNS && currentDynamic.groupId !== invalidGroupId) { 133 …this.refreshFilterDynamicFrame(dynamicList, currentDynamic, frame, startNS, endNS, totalNS, groupI… 157 endNS: number, 165 FrameDynamicStruct.setFrameDynamic(frameDynamicNode, startNS, endNS, totalNS, frame); 279 endNS: number, [all …]
|
/developtools/smartperf_host/ide/src/trace/database/data-trafic/utils/ |
D | DataFilter.ts | 20 endNS: number, 23 let pns = (endNS - startNS) / width; //每个像素多少ns 24 let slice = findRange(list, {startKey, durKey, startNS, endNS}); 29 slice[i][durKey] = (endNS || 0) - (slice[i][startKey] || 0); 60 endNS: number, 63 let pns = (endNS - startNS) / width; //每个像素多少ns 64 let sliceArray = findRange(list, {startKey, durKey, startNS, endNS}); 74 slice[i][durKey] = (endNS || 0) - (slice[i][startKey] || 0); 107 endNS: number, 111 let arr = findRange(list, {startKey, durKey, startNS, endNS}) [all …]
|
/developtools/smartperf_host/ide/src/trace/database/ui-worker/cpu/ |
D | ProcedureWorkerCpuState.ts | 51 endNS: TraceRow.range?.endNS ?? 0, 84 …setFrameByArr(cpuStateRes: any[], startNS: number, endNS: number, totalNS: number, frame: any, arr… 87 let pns = (endNS - startNS) / frame.width; 93 if (list[j].startTs <= endNS && jb) { 115 CpuStateStruct.setFrame(slice[i], 5, startNS, endNS, totalNS, frame); 124 CpuStateStruct.setFrame(slice[i], 5, startNS, endNS, totalNS, frame); 133 …setFrameByFilter(cpuStateRes: any[], startNS: number, endNS: number, totalNS: number, frame: any) { 137 (cpuStateRes[i].startTs || 0) <= endNS 139 CpuStateStruct.setFrame(cpuStateRes[i], 5, startNS, endNS, totalNS, frame); 153 endNS: number, [all …]
|
D | ProcedureWorkerCPU.ts | 48 cpuReqMessage.endNS, 77 let endNS = TraceRow.range!.endNS ?? 0; 83 endNS: endNS, 99 …drawWakeUp(req.ctx, CpuStruct.wakeupBean, startNS, endNS, totalNS, row.frame, wakeup, currentCpu, … 107 …drawWakeUpList(req.ctx, wake, startNS, endNS, totalNS, row.frame, wakeupListItem, currentCpu, true… 115 endNS: number, 121 this.setFrameCpuByRes(cpuRes, startNS, endNS, frame); 125 this.setFrameCpuByList(cpuRes, startNS, endNS, frame, cpuList); 129 setFrameCpuByRes(cpuRes: Array<any>, startNS: number, endNS: number, frame: any) { 130 let pns = (endNS - startNS) / frame.width; [all …]
|
/developtools/smartperf_host/ide/src/trace/database/ui-worker/hiperf/ |
D | ProcedureWorkerHiPerfReport.ts | 35 TraceRow.range?.endNS ?? 0, 82 function setFrameByfilter(startNS: number, endNS: number, frame: any, hiPerfFilters: Array<any>): v… 83 let pns = (endNS - startNS) / frame.width; 87 …(hiPerfData.startNS || 0) + (hiPerfData.dur || 0) > startNS && (hiPerfData.startNS || 0) < endNS) { 93 HiPerfReportStruct.setFrame(hiPerfData, pns, startNS, endNS, frame); 106 endNS: number, 110 let pns = (endNS - startNS) / frame.width; 113 .filter((it) => (it.startNS || 0) + (it.dur || 0) > startNS && (it.startNS || 0) < endNS) 120 HiPerfReportStruct.setFrame(it, pns, startNS, endNS, frame); 151 endNS: number, [all …]
|
D | ProcedureWorkerHiPerfCallChart.ts | 37 TraceRow.range!.endNS, 99 …static setPerfFrame(hiPerfNode: any, startNS: number, endNS: number, totalNS: number, frame: Rect)… 101 if ((hiPerfNode.startTime || 0) > startNS && (hiPerfNode.startTime || 0) < endNS) { 102 x1 = ns2x(hiPerfNode.startTime || 0, startNS, endNS, totalNS, frame); 108 (hiPerfNode.startTime || 0) + (hiPerfNode.totalTime || 0) < endNS 110 …x2 = ns2x((hiPerfNode.startTime || 0) + (hiPerfNode.totalTime || 0), startNS, endNS, totalNS, fram… 161 endNS: number, 172 (filter[i].startTime || 0) <= endNS 174 HiPerfCallChartStruct.setPerfFrame(filter[i], startNS, endNS, totalNS, frame); 188 (it.startTime ?? 0) <= endNS && [all …]
|
/developtools/smartperf_host/ide/src/trace/database/sql/ |
D | Irq.sql.ts | 44 export const queryIrqDataBoxSelect = (callIds: Array<number>, startNS: number, endNS: number): Prom… 55 and max(i.ts - t.start_ts, ${startNS}) <= min(i.ts - t.start_ts + dur, ${endNS}) 64 endNS: number 76 and max(i.ts - t.start_ts, ${startNS}) <= min(i.ts - t.start_ts + dur, ${endNS})
|
/developtools/smartperf_host/ide/src/trace/component/trace/base/ |
D | RangeSelect.ts | 94 TraceRow.rangeSelectObject!.endNS! 192 rangeSelect.endNS = RangeSelect.SetNS(it, endX); 229 rangeSelect.endNS = RangeSelect.SetNS(it, endX); 233 if (rangeSelect.endNS >= TraceRow.range!.endNS) { 234 rangeSelect.endNS = TraceRow.range!.endNS; 240 rangeSelect.endNS = TraceRow.rangeSelectObject!.endNS!; 256 (TraceRow.range!.endNS - TraceRow.range!.startNS); 258 ((TraceRow.rangeSelectObject!.endNS! - TraceRow.range!.startNS) * 260 (TraceRow.range!.endNS - TraceRow.range!.startNS); 279 …((TraceRow.range!.endNS - TraceRow.range!.startNS) * num) / row.frame.width + TraceRow.range!.star…
|
/developtools/smartperf_host/ide/src/trace/component/trace/timer-shaft/ |
D | RangeRuler.ts | 79 endNS: number; property 199 this.range.endNS = (this.range.endX * this.range.totalNS) / (this.canvas?.clientWidth || 0); 212 let rangeRealW = (this.scale * this.frame.width) / (this.range.endNS - this.range.startNS); 231 while (tempNs < this.range.endNS - this.range.startNS) { 240 let l20 = (this.range.endNS - this.range.startNS) / 20; 466 if (this.range.endNS < 0) this.range.endNS = 0; 468 if (this.range.endNS > this.range.totalNS) this.range.endNS = this.range.totalNS; 471 this.range.endX = (this.range.endNS * (this.canvas?.clientWidth || 0)) / this.range.totalNS; 478 setRangeNS(startNS: number, endNS: number) { 480 this.range.endNS = endNS; [all …]
|
D | SportRuler.ts | 35 endNS: number; property in SlicesTime 47 endNS: number, 58 this.endNS = endNS; 173 if (flagObj.time >= this.range.startNS && flagObj.time <= this.range.endNS) { 175 … (this.rulerW * (flagObj.time - this.range.startNS)) / (this.range.endNS - this.range.startNS) 238 …let start_X = ns2x(range?.startNS || 0, this.range.startNS, this.range.endNS, this.range.totalNS, … 239 …let endX = ns2x(range?.endNS || 0, this.range.startNS, this.range.endNS, this.range.totalNS, this.… 241 let txt = ns2s((range?.endNS || 0) - (range?.startNS || 0)); 278 let endNS; 282 TraceRow.rangeSelectObject!.endNS! > this.range.endNS [all …]
|