| /developtools/smartperf_host/ide/src/trace/component/trace/timer-shaft/ |
| D | TimeRuler.ts | 21 totalNS: number; property in TimeRuler 26 constructor(timerShaftEL: TimerShaftElement, frame: Rect, totalNS: number = 10_000_000_000) { 28 this.totalNS = totalNS; 31 this.stepNS = this.totalNS / 10; 37 this.stepNS = this.totalNS / 10;
|
| /developtools/smartperf_host/ide/src/trace/database/ui-worker/ |
| D | ProcedureWorkerLog.ts | 41 TraceRow.range!.totalNS, 59 totalNS: number, 66 LogStruct.setLogFrame(logFilter[i], 0, startNS, endNS, totalNS, frame); 74 setLogFilter(logList, logFilter, startNS, endNS, totalNS, frame); 81 totalNS: number, 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); 102 LogStruct.setLogFrame(itemLog, 0, startNS, endNS, totalNS, frame); 139 totalNS: number, [all …]
|
| D | ProcedureWorkerHiSysEvent.ts | 44 totalNS: TraceRow.range?.totalNS ?? 0, 54 totalNS: TraceRow.range?.totalNS ?? 0, 78 totalNS: number, 86 HiSysEventStruct.setSysEventFrame(item, startNS, endNS, totalNS, row.frame); 98 HiSysEventStruct.setSysEventFrame(item, startNS, endNS, totalNS, row.frame); 128 totalNS: number, 133 x1 = ns2x(sysEventNode.startTs || 0, startNS, endNS, totalNS, frame); 141 … x2 = ns2x((sysEventNode.startTs || 0) + (sysEventNode.dur || 0), startNS, endNS, totalNS, frame);
|
| D | ProcedureWorkerEnergySystem.ts | 42 TraceRow.range!.totalNS || 0, 125 export function systemData(data: Array<any>, startNS: number, endNS: number, totalNS: number, frame… 140 … EnergySystemStruct.setSystemFrame(systemItem, 10, startNS || 0, endNS || 0, totalNS || 0, frame); 150 totalNS: 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); 186 totalNS: number, 204 EnergySystemStruct.setSystemFrame(item, 10, startNS, endNS, totalNS, frame); [all …]
|
| D | ProduceWorkerSdkSlice.ts | 39 TraceRow.range?.totalNS ?? 0, 63 totalNS: number, 71 … SdkSliceStruct.setSdkSliceFrame(sdkSliceFilters[index], 5, startNS, endNS, totalNS, frame); 80 setSdkSliceFilter(sdkList, sdkSliceFilters, startNS, endNS, totalNS, frame); 89 totalNS: number, 98 SdkSliceStruct.setSdkSliceFrame(sdkList[index], 5, startNS, endNS, totalNS, frame); 155 totalNS: number, 163 sdkSliceStartPointX = ns2x(SdkSliceNode.start_ts || 0, startNS, endNS, totalNS, frame); 168 sdkSliceEndPointX = ns2x(SdkSliceNode.end_ts || 0, startNS, endNS, totalNS, frame);
|
| D | ProcedureWorkerMemoryAbility.ts | 45 totalNS: TraceRow.range?.totalNS ?? 0, 84 totalNS: number, 95 … MemoryAbilityMonitorStruct.setMemoryFrame(memoryAbilityItem, 5, startNS, endNS, totalNS, frame); 103 setMemoryAbility(memoryAbilityList, res, startNS, endNS, totalNS, frame); 110 totalNS: number, 121 MemoryAbilityMonitorStruct.setMemoryFrame(item, 5, startNS, endNS, totalNS, frame); 188 …static setMemoryFrame(memoryNode: any, padding: number, startNS: number, endNS: number, totalNS: n… 194 memoryStartPointX = ns2x(memoryNode.startNS || 0, startNS, endNS, totalNS, frame); 199 …ndPointX = ns2x((memoryNode.startNS || 0) + (memoryNode.dur || 0), startNS, endNS, totalNS, frame);
|
| D | ProcedureWorkerEBPF.ts | 46 TraceRow.range?.totalNS ?? 0, 107 totalNS: number, 118 setFrameByArr(eBPFFilters, startNS, endNS, frame, totalNS, isDiskIO); 145 totalNS: number, 164 ? EBPFChartStruct.computeHeightNoGroupLatency(filter, totalNS) 165 : EBPFChartStruct.computeHeightNoGroup(filter, totalNS); 222 static computeHeightNoGroup(array: Array<any>, totalNS: number): Array<any> { 227 time.push({ time: item.endNS || totalNS, type: -1 }); 250 heap.dur = totalNS - heap.startNS; 264 static computeHeightNoGroupLatency(array: Array<any>, totalNS: number): Array<any> { [all …]
|
| D | ProcedureWorkerDiskIoAbility.ts | 45 totalNS: TraceRow.range?.totalNS ?? 0, 84 totalNS: number, 95 …yMonitorStruct.setDiskIOFrame(diskIoAbilityItem, 5, startNS || 0, endNS || 0, totalNS || 0, frame); 103 setDiskIoAbilityFilter(diskIoAbilityList, res, startNS || 0, endNS || 0, totalNS || 0, frame); 110 totalNS: number, 121 …skAbilityMonitorStruct.setDiskIOFrame(diskIoAbilityList[index], 5, startNS, endNS, totalNS, frame); 187 …static setDiskIOFrame(diskIONode: any, padding: number, startNS: number, endNS: number, totalNS: n… 193 diskIOStartPointX = ns2x(diskIONode.startNS || 0, startNS, endNS, totalNS, frame); 198 …ndPointX = ns2x((diskIONode.startNS || 0) + (diskIONode.dur || 0), startNS, endNS, totalNS, frame);
|
| D | ProduceWorkerSdkCounter.ts | 39 TraceRow.range?.totalNS ?? 0, 71 totalNS: number, 79 … CounterStruct.setCounterFrame(sdkCounterFilters[index], 5, startNS, endNS, totalNS, frame); 87 setSdkCounterFilter(sdkCounterList, sdkCounterFilters, startNS, endNS, totalNS, frame); 95 totalNS: number, 106 CounterStruct.setCounterFrame(sdkCounterList[index], 5, startNS, endNS, totalNS, frame); 165 totalNS: number, 173 sdkCounterStartPointX = ns2x(counterNode.ts || 0, startNS, endNS, totalNS, frame); 178 …ntEndPointX = ns2x((counterNode.ts || 0) + (counterNode.dur || 0), startNS, endNS, totalNS, frame);
|
| D | ProcedureWorkerProcess.ts | 41 TraceRow.range!.totalNS || 0, 63 totalNS: number, 68 res.forEach((it) => ProcessStruct.setProcessFrame(it, 5, startNS, endNS, totalNS, frame)); 76 ProcessStruct.setProcessFrame(processList[i], 5, startNS, endNS, totalNS, frame); 136 totalNS: number, 144 x1 = ns2x(processNode.startTime || 0, startNS, endNS, totalNS, frame); 149 … x2 = ns2x((processNode.startTime || 0) + (processNode.dur || 0), startNS, endNS, totalNS, frame);
|
| D | ProcedureWorkerEnergyState.ts | 37 TraceRow.range!.totalNS || 0, 72 totalNS: number, 85 EnergyStateStruct.setStateFrame(res[i], 5, startNS, endNS, totalNS, frame); 91 stateFilter(stateList, startNS, endNS, totalNS, frame, res); 97 totalNS: number, 109 EnergyStateStruct.setStateFrame(stateList[index], 5, startNS, endNS, totalNS, frame); 182 …static setStateFrame(stateNode: any, padding: number, startNS: number, endNS: number, totalNS: num… 188 stateStartPointX = ns2x(stateNode.startNs || 0, startNS, endNS, totalNS, frame); 193 …eEndPointX = ns2x((stateNode.startNs || 0) + (stateNode.dur || 0), startNS, endNS, totalNS, frame);
|
| D | ProcedureWorkerEnergyPower.ts | 38 TraceRow.range!.totalNS, 106 totalNS: number, 124 computeMaxPower(array, list, startNS, endNS, totalNS, frame); 155 totalNS: number, 160 EnergyPowerStruct.setPowerFrame(item, 5, startNS || 0, endNS || 0, totalNS || 0, frame); 236 let totalNS = TraceRow.range!.totalNS; 238 let endPointX = ns2x((data.ts || 0) + 500000000, startNS, endNS, totalNS, row.frame); 239 let startPointX = ns2x((data.ts || 0) - 500000000, startNS, endNS, totalNS, row.frame); 263 TraceRow.range!.totalNS, 270 TraceRow.range!.totalNS, [all …]
|
| D | ProcedureWorkerTimeline.ts | 35 totalNS: number, 50 timeRuler = new TimeRuler(canvas, ctx, new Rect(0, 0, frame.width, 20), totalNS); 64 endNS: totalNS, 65 totalNS: totalNS, 131 totalNS: number; 142 totalNS: number = 10_000_000_000 145 this.totalNS = totalNS; 148 this.stepNS = this.totalNS / 10; 154 this.stepNS = this.totalNS / 10; 371 totalNS: number; [all …]
|
| D | ProcedureWorkerFrameAnimation.ts | 45 TraceRow.range!.totalNS, 75 totalNS: number, 83 …FrameAnimationStruct.setFrameAnimation(frameAnimationNode, padding, startNS, endNS, totalNS, frame… 100 totalNS || 0, 139 totalNS: number, 147 stateStartPointX = ns2x(animationNode.startTs || 0, startNS, endNS, totalNS, frame); 152 …tX = ns2x((animationNode.startTs || 0) + (animationNode.dur || 0), startNS, endNS, totalNS, frame);
|
| D | ProcedureWorkerHeap.ts | 39 TraceRow.range?.totalNS ?? 0, 93 totalNS: number, 98 setHeapFrameIfUse(res, startNS, endNS, totalNS, frame); 105 HeapStruct.setFrame(it, 5, startNS, endNS, totalNS, frame); 118 function setHeapFrameIfUse(res: Array<any>, startNS: number, endNS: number, totalNS: number, frame:… 122 HeapStruct.setFrame(res[i], 5, startNS, endNS, totalNS, frame); 157 …static setFrame(node: HeapStruct, padding: number, startNS: number, endNS: number, totalNS: number… 162 x1 = ns2x(node.startTime || 0, startNS, endNS, totalNS, frame); 172 totalNS,
|
| D | ProcedureWorkerFPS.ts | 35 TraceRow.range!.totalNS || 0, 67 totalNS: number, 72 res.forEach((it) => FpsStruct.setFrame(it, 5, startNS, endNS, totalNS, frame)); 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); 157 …fpsRightPointX = ns2x((fpsNode.startNS || 0) + (fpsNode.dur || 0), startNS, endNS, totalNS, frame);
|
| D | ProcedureWorkerSoInit.ts | 37 TraceRow.range!.totalNS, 77 totalNS: number, 84 SoStruct.setSoFrame(soFilter[i], 0, startNS, endNS, totalNS, frame); 96 SoStruct.setSoFrame(it, 0, startNS, endNS, totalNS, frame); 137 …static setSoFrame(soNode: any, padding: number, startNS: number, endNS: number, totalNS: number, f… 141 x1 = ns2x(soNode.startTs || 0, startNS, endNS, totalNS, frame); 146 x2 = ns2x((soNode.startTs || 0) + (soNode.dur || 0), startNS, endNS, totalNS, frame);
|
| D | ProcedureWorkerFrameDynamic.ts | 104 let totalNS: number = TraceRow.range!.totalNS; 127 …efreshFilterDynamicFrame(dynamicList, currentDynamic, frame, startNS, endNS, totalNS, groupIdList); 130 …efreshFilterDynamicFrame(dynamicList, currentDynamic, frame, startNS, endNS, totalNS, groupIdList); 133 …efreshFilterDynamicFrame(dynamicList, currentDynamic, frame, startNS, endNS, totalNS, groupIdList); 158 totalNS: number, 165 FrameDynamicStruct.setFrameDynamic(frameDynamicNode, startNS, endNS, totalNS, frame); 280 totalNS: number, 285 FrameDynamicStruct.setFrameDynamic(currentFrameDynamic, startNS, endNS, totalNS, frame); 318 totalNS: number, 321 let pointX: number = ns2x(dynamicNode.ts || 0, startNS, endNS, totalNS, frame);
|
| D | ProcedureWorkerCpuAbility.ts | 46 totalNS: TraceRow.range?.totalNS ?? 0, 141 totalNS: number, 149 cpuAbilityStartPointX = ns2x(cpuAbilityNode.startNS || 0, startNS, endNS, totalNS, frame); 158 totalNS,
|
| D | ProcedureWorkerJank.ts | 45 TraceRow.range!.totalNS, 52 … = ((TraceRow.range!.endNS || 0) - (TraceRow.range!.startNS || 0)) / (TraceRow.range!.totalNS * 9); 88 totalNS: number, 95 JankStruct.setJankFrame(jankFilter[i], 0, startNS, endNS, totalNS, frame); 107 JankStruct.setJankFrame(it, 0, startNS, endNS, totalNS, frame); 163 totalNS: number, 168 x1 = ns2x(jankNode.ts || 0, startNS, endNS, totalNS, frame); 173 x2 = ns2x((jankNode.ts || 0) + (jankNode.dur || 0), startNS, endNS, totalNS, frame);
|
| /developtools/smartperf_host/ide/src/trace/database/ui-worker/cpu/ |
| D | ProcedureWorkerCpuState.ts | 52 totalNS: TraceRow.range?.totalNS ?? 0, 84 …setFrameByArr(cpuStateRes: any[], startNS: number, endNS: number, totalNS: number, frame: any, arr… 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) { 139 CpuStateStruct.setFrame(cpuStateRes[i], 5, startNS, endNS, totalNS, frame); 154 totalNS: number, 159 this.setFrameByFilter(cpuStateRes, startNS, endNS, totalNS, frame); 164 this.setFrameByArr(cpuStateRes, startNS, endNS, totalNS, frame, arr2); 235 …static setFrame(cpuStateNode: any, padding: number, startNS: number, endNS: number, totalNS: numbe… [all …]
|
| /developtools/smartperf_host/ide/src/trace/database/data-trafic/ |
| D | NativeMemoryDataReceiver.ts | 81 function normalChartDataHandler(data: Array<any>, key: string, totalNS: number): void { 89 …cache.dataList[cache.dataList.length - 1].dur = totalNS - cache.dataList[cache.dataList.length - 1… 152 function statisticChartHandler(arr: Array<any>, key: string, totalNS: number): void { 189 let cache = setStatisticsCacheMapValue(obj, totalNS); 193 function setStatisticsCacheMapValue(obj: any, totalNS: number): any { 209 source[i].dur = totalNS - source[i].startTime; 223 function cacheNativeMemoryChartData(model: string, totalNS: number, processes: number[], data: Arra… 228 normalChartDataHandler(processData, `${ipid}-0`, totalNS); 232 totalNS 237 totalNS [all …]
|
| D | NativeMemoryDataSender.ts | 32 totalNS: (TraceRow.range?.endNS || 0) - (TraceRow.range?.startNS || 0), 52 totalNS: window.totalNS,
|
| /developtools/smartperf_host/ide/src/trace/component/trace/ |
| D | TimerShaftElement.ts | 158 get totalNS(): number { method in TimerShaftElement 162 set totalNS(value: number) { method in TimerShaftElement 165 if (this.timeRuler) this.timeRuler.totalNS = value; 166 if (this._rangeRuler) this._rangeRuler.range.totalNS = value; 193 this.totalNS = 10_000_000_000; 198 this._rangeRuler.range.totalNS = this.totalNS; 299 endNS: this.totalNS, 300 totalNS: this.totalNS, 430 totalNS: this.totalNS,
|
| /developtools/smartperf_host/ide/src/trace/database/ui-worker/hiperf/ |
| D | ProcedureWorkerHiPerfCallChart.ts | 38 TraceRow.range!.totalNS, 99 …static setPerfFrame(hiPerfNode: any, startNS: number, endNS: number, totalNS: number, frame: Rect)… 102 x1 = ns2x(hiPerfNode.startTime || 0, startNS, endNS, totalNS, frame); 110 …x2 = ns2x((hiPerfNode.startTime || 0) + (hiPerfNode.totalTime || 0), startNS, endNS, totalNS, fram… 162 totalNS: number, 174 HiPerfCallChartStruct.setPerfFrame(filter[i], startNS, endNS, totalNS, frame); 192 HiPerfCallChartStruct.setPerfFrame(it, startNS, endNS, totalNS, frame);
|