/developtools/smartperf_host/ide/src/trace/component/trace/sheet/file-system/ |
D | TabPaneFilesystemStatistics.ts | 79 getInitData(item: unknown): unknown { 82 ...item, // @ts-ignore 83 title: `${item.name}(${item.pid})`, // @ts-ignore 84 logicalWrites: Utils.getBinaryByteWithUnit(item.logicalWrites), // @ts-ignore 85 logicalReads: Utils.getBinaryByteWithUnit(item.logicalReads), // @ts-ignore 86 otherFile: Utils.getBinaryByteWithUnit(item.otherFile), // @ts-ignore 87 allDuration: Utils.getProbablyTime(item.allDuration), // @ts-ignore 88 minDuration: Utils.getProbablyTime(item.minDuration), // @ts-ignore 89 maxDuration: Utils.getProbablyTime(item.maxDuration), // @ts-ignore 90 avgDuration: Utils.getProbablyTime(item.avgDuration), // @ts-ignore [all …]
|
D | TabPaneVirtualMemoryStatistics.ts | 151 result.forEach((item, idx) => { 152 this.processChildMap(vmMemoryStatChildMap, item, firstLevel, secondLevel); 153 this.processFatherMap(vmMemoryStatFatherMap, item, firstLevel); 156 vmMemoryStatAllNode.minDuration = item.minDuration; 161 …vmMemoryStatAllNode.minDuration <= item.minDuration ? vmMemoryStatAllNode.minDuration : item.minDu… 164 vmMemoryStatAllNode.count += item.count; 166 vmMemoryStatAllNode.allDuration += item.allDuration; 170 …vmMemoryStatAllNode.maxDuration >= item.maxDuration ? vmMemoryStatAllNode.maxDuration : item.maxDu… 292 …private processFatherMap(vmMemoryStatFatherMap: Map<unknown, unknown>, item: unknown, firstLevel: … 294 if (vmMemoryStatFatherMap.has(item[firstLevel])) { [all …]
|
/developtools/profiler/hiebpf/src/ |
D | bpf_event_receiver.cpp | 192 for (auto &item : mapsItems) { in WriteEventMaps() local 193 size_t size = sizeof(FixedMapTLVItem) + item.fileName_.size() + 1; in WriteEventMaps() 202 mapItem->start = item.start_; in WriteEventMaps() 203 mapItem->end = item.end_; in WriteEventMaps() 204 mapItem->offset = item.offset_; in WriteEventMaps() 205 mapItem->pid = item.pid_; in WriteEventMaps() 206 mapItem->fileNameLen = item.fileName_.size() + 1; in WriteEventMaps() 209 … (void)strncpy_s(fileName, mapItem->fileNameLen, item.fileName_.c_str(), item.fileName_.size()); in WriteEventMaps() 211 WriteSymbolInfo(item.fileName_); in WriteEventMaps() 287 struct FixedFSTraceTLVItem *item = static_cast<struct FixedFSTraceTLVItem *>(tlvItem); in EncodeFSTraceEvent() local [all …]
|
/developtools/smartperf_host/ide/src/trace/component/setting/ |
D | SpArkTs.ts | 181 interval!.forEach((item) => { 182 item.disabled = false; 183 item.style.background = 'var(--dark-background5,#FFFFFF)'; 186 interval!.forEach((item) => { 187 item.disabled = true; 188 item.style.color = '#b7b7b7'; 189 item.style.background = 'var(--dark-background1,#f5f5f5)'; 198 interval!.forEach((item) => { 199 item.disabled = true; 200 item.style.color = '#b7b7b7'; [all …]
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/frequsage/ |
D | TabPaneFreqUsage.ts | 155 for (let item of data) { 157 item.status = true; 158 if (item.children !== undefined && item.children.length > 0) { 159 this.threadStatesTbl!.setStatus(item.children, false); 281 result.forEach((item, key) => { 283 for (let i = 0; i < item.length; i++) { 285 if (item[i].cpu == cpuFreqData[j].cpu) { 289 item[i].ts > cpuFreqData[j].ts && 290 item[i].ts < cpuFreqData[j].ts + cpuFreqData[j].dur && 291 item[i].dur < cpuFreqData[j].ts + cpuFreqData[j].dur - item[i].ts [all …]
|
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/components/renderer/ |
D | XAxisView.ets | 53 ForEach(this.scaleMode.xAixsMode.paints, (item: Paint) => { 54 if (item instanceof LinePaint) { 56 .startPoint(item.startPoint) 57 .endPoint(item.endPoint) 58 .fill(item.fill) 59 .stroke(item.stroke) 60 .strokeWidth(item.strokeWidth) 61 .strokeDashArray(item.strokeDashArray) 62 .strokeDashOffset(item.strokeDashOffset) 63 .strokeOpacity(item.alpha) [all …]
|
D | YAxisView.ets | 39 ForEach(this.model.paints, (item: Paint) => { 40 if (item instanceof LinePaint) { 42 .startPoint(item.startPoint) 43 .endPoint(item.endPoint) 44 .fill(item.fill) 45 .stroke(item.stroke) 46 .strokeWidth(item.strokeWidth) 47 .strokeDashArray(item.strokeDashArray) 48 .strokeDashOffset(item.strokeDashOffset) 49 .strokeOpacity(item.alpha) [all …]
|
/developtools/smartperf_host/ide/src/base-ui/menu/ |
D | LitMainMenu.ts | 131 it.children?.forEach((item: unknown) => { 133 if (item.fileModel !== undefined && item.fileModel === 'db') { 136 if (item.children && item.children.length > 0) { 138 secondGroup.setAttribute('title', item.title || ''); // @ts-ignore 139 if (item.describe !== '') { 141 secondGroup.setAttribute('describe', item.describe || ''); 145 this.setChildren(item, group, groupName, groupDescribe, secondGroup); 147 this.notChildren(item, group, groupName, groupDescribe); 154 item: unknown, 161 secondGroup.setAttribute('icon', item.icon || ''); // @ts-ignore [all …]
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/gpu/ |
D | TabPaneGpuClickSelect.ts | 78 …item: { categoryId: number; size: number; windowNameId: number; moduleId: number; windowId: unknow… 80 let categoryItem: GpuTreeItem = this.setGpuTreeItem(item); 82 if (group[`${item.windowNameId}(${item.windowId})`]) { 84 let windowGroup = group[`${item.windowNameId}(${item.windowId})`] as GpuTreeItem; 85 windowGroup.size += item.size; 87 let moduleGroup = windowGroup.children!.find((it) => it.id === item.moduleId); 89 moduleGroup.size += item.size; 94 name: SpSystemTrace.DATA_DICT.get(item.moduleId) || 'null', 95 id: item.moduleId, 96 size: item.size, [all …]
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/cpu/ |
D | TabPaneSchedPriority.ts | 65 function setPriority(item: Priority, strArg: string[]): void { 70 if (item.priority >= 0 && item.priority <= 40) { 71 item.priorityType = 'CFS'; 73 item.priorityType = 'RT'; 76 if (item.priority >= 0 && item.priority <= 88) { 77 item.priorityType = 'RT'; 78 } else if (item.priority >= 89 && item.priority <= 99) { 79 item.priorityType = 'VIP2.0'; 81 item.priority >= 100 && 85 item.priorityType = 'STATIC_VIP'; [all …]
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/ability/ |
D | TabPaneGpuMemoryComparison.ts | 55 data.forEach((item) => { 56 if (item.processName !== null) { 57 item.process = `${item.processName}(${item.processId})`; 59 item.process = `Process(${item.processId})`; 61 item.gpuName = SpSystemTrace.DATA_DICT.get(item.gpuNameId as number) || '-'; 72 for (const item of selfData) { constant 73 this.selfData.push(new GpuMemoryComparison(item.process, '', item.gpuName, item.value)); 75 for (let item of dataList) { 76 if (item.startNs !== startNs) { 77 dataArray.push(item); [all …]
|
D | TabPaneDmaSelectAbility.ts | 45 dmaSelectTblNodes.forEach((item) => { 46 item.querySelectorAll('svg').forEach((svg) => { 70 data.forEach((item) => { 71 item.bufName = SpSystemTrace.DATA_DICT.get(item.bufName as number) || '-'; 72 item.expName = SpSystemTrace.DATA_DICT.get(item.expName as number) || '-'; 73 item.expTaskComm = SpSystemTrace.DATA_DICT.get(item.expTaskComm as number) || '-'; 74 if (item.processName !== null) { 75 item.process = `${item.processName}(${item.processId})`; 77 item.process = `Process(${item.processId})`; 79 item.sizes = Utils.getBinaryByteWithUnit(item.size); [all …]
|
D | TabPaneDmaAbilityComparison.ts | 54 data.forEach((item) => { 55 if (item.processName !== null) { 56 item.process = `${item.processName}(${item.processId})`; 58 item.process = `Process(${item.processId})`; 70 for (const item of selfDatas) { constant 71 this.selfDatas.push(new DmaComparison(item.process, item.value)); 73 for (let item of dataList) { 74 if (item.startNs !== startNs) { 75 dataArray.push(item); 111 for (const item of data) { constant [all …]
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/vmtracker/ |
D | TabPaneGpuMemoryVmTrackerComparison.ts | 56 data.forEach((item) => { 57 if (item.threadName !== null) { 58 item.thread = `${item.threadName}(${item.threadId})`; 60 item.thread = `Thread(${item.threadId})`; 62 item.gpuName = SpSystemTrace.DATA_DICT.get(item.gpuNameId as number) || '-'; 73 for (const item of selfData) { constant 74 this.selfData.push(new GpuMemoryComparison('', item.thread, item.gpuName, item.value)); 76 for (let item of dataList) { 77 if (item.startNs !== startNs) { 78 dataArray.push(item); [all …]
|
D | TabPaneGpuMemoryVmTracker.ts | 75 data.forEach((item) => { 76 if (item.threadName !== null) { 77 item.thread = `${item.threadName}(${item.threadId})`; 79 item.thread = `Thread(${item.threadId})`; 81 this.total.avgSize += item.avgSize; 83 this.total.minSize = item.minSize; 86 this.total.maxSize = item.maxSize; 88 this.total.minSize = Math.min(this.total.minSize, item.minSize); 89 this.total.maxSize = Math.max(this.total.maxSize, item.maxSize); 91 item.gpuName = SpSystemTrace.DATA_DICT.get(item.gpuNameId) || ''; [all …]
|
D | TabPaneDmaSelectVmTracker.ts | 60 dmaSelectVmTrackerTblNodes.forEach((item) => { 61 item.querySelectorAll('svg').forEach((svg) => { 72 data.forEach((item) => { 73 item.bufName = SpSystemTrace.DATA_DICT.get(item.bufName as number) || '-'; 74 item.expName = SpSystemTrace.DATA_DICT.get(item.expName as number) || '-'; 75 item.expTaskComm = SpSystemTrace.DATA_DICT.get(item.expTaskComm as number) || '-'; 76 item.timeStamp = ns2s(item.startNs); 77 item.sizes = Utils.getBinaryByteWithUnit(item.size); 79 this.damClickTable!.getItemTextColor = (item: Dma): unknown => { 80 if (item.flag === 1) { [all …]
|
D | TabPaneGpuMemorySelectVmTracker.ts | 57 gpuMemoryVmTrackerTblNodes.forEach((item) => { 58 item.querySelectorAll('svg').forEach((svg) => { 69 data.forEach((item) => { 70 if (item.threadName !== null) { 71 item.thread = `${item.threadName}(${item.threadId})`; 73 item.thread = `Thread(${item.threadId})`; 75 item.timeStamp = ns2s(item.startNs); 76 item.sizes = Utils.getBinaryByteWithUnit(item.size);
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/freq/ |
D | TabPaneCpuFreqLimits.ts | 76 let groupMapData = (time: number, id: string, item: CpuFreqLimitsStruct): void => { 82 limit.cpu = `Cpu ${item.cpu}`; 85 limit.value = isMax ? item.max! : item.min!; 89 list.forEach((item) => { 90 if (item.startNs! > end) { 93 let max = Math.max(item.startNs || 0, start); 94 let min = Math.min((item.startNs || 0) + item.dur, end); 96 let maxId = `${item.cpu}-${item.max}-max`; 97 let minId = `${item.cpu}-${item.min}-min`; 98 groupMapData(min - max, maxId, item); [all …]
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/ark-ts/ |
D | TabPaneJsCpu.ts | 81 list.forEach((item) => { 82 item.querySelectorAll('svg').forEach((svg): void => { 93 data.forEach((item) => { 94 if (item.children && item.children.length > 0) { 95 item.children.forEach((it) => { 96 it.parentId = item.id; 99 item.name = SpSystemTrace.DATA_DICT.get(item.nameId) || ''; 100 callTreeMap.set(item.id, item); 101 item.scriptName === 'unknown' 102 ? (item.symbolName = item.name) [all …]
|
/developtools/ace_js2bundle/ace-loader/test/lite/testcase/pages/sick/ |
D | sick.hml | 2 <list-item class="head_t"> 4 </list-item> 5 <list-item class="list"> 7 </list-item> 8 <list-item class="list"> 10 </list-item> 11 <list-item class="list"> 13 </list-item> 14 <list-item class="list"> 16 </list-item> [all …]
|
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/components/ |
D | LegendView.ets | 43 ForEach(this.model.paints, (item:Paint) => { 44 if (item instanceof CirclePaint) { 46 .width(item.width) 47 .height(item.height) 48 .fill(item.stroke) 49 .position({ x: item.x, y: item.y }) 50 } else if (item.constructor.name == 'RectPaint') { 51 Rect({width: item.width, height: item.height}) 52 .fill(item.stroke) 53 .position({ x: item.x, y: item.y }) [all …]
|
/developtools/ace_ets2bundle/compiler/src/ |
D | process_component_constructor.ts | 41 let ctorNode: any = members.find(item => { 42 return ts.isConstructorDeclaration(item); 126 tsPara.forEach((item) => { 127 let parameter: ts.ParameterDeclaration = item; 128 switch (item.name.escapedText) { 130 parameter = ts.factory.updateParameterDeclaration(item, ts.getModifiers(item), 131 item.dotDotDotToken, item.name, item.questionToken, 132 ts.factory.createKeywordTypeNode(ts.SyntaxKind.StringKeyword), item.initializer); 135 parameter = ts.factory.createParameterDeclaration(ts.getModifiers(item), 136 item.dotDotDotToken, item.name, item.questionToken, [all …]
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/smaps/ |
D | TabPaneSmapsComparison.ts | 146 for (const item of base) { constant 147 diffMap.set(item.type + ' ' + item.path, item.clone(true)); 150 for (const item of target) { constant 151 if (diffMap.has(item.type + ' ' + item.path)) { 152 const diffItem = diffMap.get(item.type + ' ' + item.path); 153 diffItem!.size = diffItem!.size - item.size; 154 diffItem!.count = diffItem!.count - item.count; 155 diffItem!.rss = diffItem!.rss - item.rss; 156 diffItem!.pss = diffItem!.pss - item.pss; 157 diffItem!.sharedClean = diffItem!.sharedClean - item.sharedClean; [all …]
|
/developtools/ace_ets2bundle/compiler/src/fast_build/system_api/ |
D | api_check_permission.ts | 52 .filter((item) => { 53 return item !== ''; 56 permissionsItem.forEach((item: string) => { 58 …nthesisItem: string[] = JsDocCheckService.getSplitsArrayWithDesignatedCharAndArrayStr([item], '('); 75 if (permissionsQueue.some(item => ['(', ')'].includes(item))) { 85 return permission.split(designatedChar).map(item => item.trim()) 119 stack.forEach((item: string, index: number) => { 120 if (item === '(') { 124 subQueue: [item], 128 currentGroupItem.subQueue.push(item); [all …]
|
/developtools/smartperf_host/ide/src/trace/component/ |
D | SpHelp.ts | 59 items.forEach((item) => { 60 item.style.width = '330px'; 155 clickHandler: function (item: MenuItem): void { 162 clickHandler: function (item: MenuItem): void { 169 clickHandler: function (item: MenuItem): void { 205 clickHandler: (item: MenuItem): void => { 222 clickHandler: function (item: MenuItem): void { 229 clickHandler: function (item: MenuItem): void { 236 clickHandler: function (item: MenuItem): void { 243 clickHandler: function (item: MenuItem): void { [all …]
|