| /developtools/smartperf_host/ide/src/trace/component/trace/sheet/file-system/ |
| D | TabPaneFilesystemStatistics.ts | 75 getInitData(item: any) { 77 ...item, 78 title: item.name + '(' + item.pid + ')', 79 logicalWrites: Utils.getBinaryByteWithUnit(item.logicalWrites), 80 logicalReads: Utils.getBinaryByteWithUnit(item.logicalReads), 81 otherFile: Utils.getBinaryByteWithUnit(item.otherFile), 82 allDuration: Utils.getProbablyTime(item.allDuration), 83 minDuration: Utils.getProbablyTime(item.minDuration), 84 maxDuration: Utils.getProbablyTime(item.maxDuration), 85 avgDuration: Utils.getProbablyTime(item.avgDuration), [all …]
|
| D | TabPaneVirtualMemoryStatistics.ts | 136 result.forEach((item, idx) => { 137 if (vmMemoryStatChildMap.has(item[firstLevel] + '_' + item[secondLevel])) { 138 … let vmMemoryStatChildObj = vmMemoryStatChildMap.get(item[firstLevel] + '_' + item[secondLevel]); 139 vmMemoryStatChildObj.count += item.count; 140 vmMemoryStatChildObj.allDuration += item.allDuration; 142 …vmMemoryStatChildObj.minDuration <= item.minDuration ? vmMemoryStatChildObj.minDuration : item.min… 144 …vmMemoryStatChildObj.maxDuration >= item.maxDuration ? vmMemoryStatChildObj.maxDuration : item.max… 146 …this.getInitData(item, firstLevel == 'type' ? 'tname' : 'type', firstLevel == 'type' ? 'tid' : nul… 149 vmMemoryStatChildMap.set(item[firstLevel] + '_' + item[secondLevel], { 150 ...item, [all …]
|
| /developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/file-system/ |
| D | TabPaneFilesystemStatistics.ts | 75 getInitData(item: any) { 77 ...item, 78 title: item.name + '(' + item.pid + ')', 79 logicalWrites: Utils.getBinaryByteWithUnit(item.logicalWrites), 80 logicalReads: Utils.getBinaryByteWithUnit(item.logicalReads), 81 otherFile: Utils.getBinaryByteWithUnit(item.otherFile), 82 allDuration: Utils.getProbablyTime(item.allDuration), 83 minDuration: Utils.getProbablyTime(item.minDuration), 84 maxDuration: Utils.getProbablyTime(item.maxDuration), 85 avgDuration: Utils.getProbablyTime(item.avgDuration), [all …]
|
| D | TabPaneVirtualMemoryStatistics.ts | 136 result.forEach((item, idx) => { 137 if (vmMemoryStatChildMap.has(item[firstLevel] + '_' + item[secondLevel])) { 138 … let vmMemoryStatChildObj = vmMemoryStatChildMap.get(item[firstLevel] + '_' + item[secondLevel]); 139 vmMemoryStatChildObj.count += item.count; 140 vmMemoryStatChildObj.allDuration += item.allDuration; 142 …vmMemoryStatChildObj.minDuration <= item.minDuration ? vmMemoryStatChildObj.minDuration : item.min… 144 …vmMemoryStatChildObj.maxDuration >= item.maxDuration ? vmMemoryStatChildObj.maxDuration : item.max… 146 …this.getInitData(item, firstLevel == 'type' ? 'tname' : 'type', firstLevel == 'type' ? 'tid' : nul… 149 vmMemoryStatChildMap.set(item[firstLevel] + '_' + item[secondLevel], { 150 ...item, [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 | 170 interval!.forEach((item) => { 171 item.disabled = false; 172 item.style.background = 'var(--dark-background5,#FFFFFF)'; 175 interval!.forEach((item) => { 176 item.disabled = true; 177 item.style.color = '#b7b7b7'; 178 item.style.background = 'var(--dark-background1,#f5f5f5)'; 190 interval!.forEach((item) => { 191 item.disabled = true; 192 item.style.color = '#b7b7b7'; [all …]
|
| /developtools/smartperf_host/ide/src/trace/component/trace/sheet/gpu/ |
| D | TabPaneGpuClickSelect.ts | 61 … item: { categoryId: number; size: number; windowNameId: number; moduleId: number; windowId: any } 64 name: SpSystemTrace.DATA_DICT.get(item.categoryId) || 'null', 65 id: item.categoryId, 66 size: item.size, 67 sizeStr: Utils.getBinaryByteWithUnit(item.size), 69 if (group[`${item.windowNameId}(${item.windowId})`]) { 70 let windowGroup = group[`${item.windowNameId}(${item.windowId})`] as GpuTreeItem; 71 windowGroup.size += item.size; 73 let moduleGroup = windowGroup.children!.find((it) => it.id === item.moduleId); 75 moduleGroup.size += item.size; [all …]
|
| D | TabPaneGpuClickSelectComparison.ts | 78 for (const item of baseGpuData) { constant 80 … new GpuDumpComparison(item.windowNameId, item.windowId, item.moduleId, item.categoryId, item.size) 83 for (let item of dataList) { 84 if (item.startNs !== startTs) { 85 dataArray.push(item); 120 for (const item of data) { constant 122 … new GpuDumpComparison(item.windowNameId, item.windowId, item.moduleId, item.categoryId, item.size) 126 for (const item of comparisonData) { constant 127 item.size = item.value;
|
| /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 | 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 selfData) { constant 71 this.selfData.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 …]
|
| D | TabPaneDmaSelectAbility.ts | 57 dmaSelectTblNodes.forEach((item) => { 58 item.querySelectorAll('svg').forEach((svg) => { 69 data.forEach((item) => { 70 item.bufName = SpSystemTrace.DATA_DICT.get(item.bufName as number) || '-'; 71 item.expName = SpSystemTrace.DATA_DICT.get(item.expName as number) || '-'; 72 item.expTaskComm = SpSystemTrace.DATA_DICT.get(item.expTaskComm as number) || '-'; 73 if (item.processName !== null) { 74 item.process = `${item.processName}(${item.processId})`; 76 item.process = `Process(${item.processId})`; 78 item.sizes = Utils.getBinaryByteWithUnit(item.size); [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 | 71 data.forEach((item) => { 72 if (item.threadName !== null) { 73 item.thread = `${item.threadName}(${item.threadId})`; 75 item.thread = `Thread(${item.threadId})`; 77 this.total.avgSize += item.avgSize; 79 this.total.minSize = item.minSize; 82 this.total.maxSize = item.maxSize; 84 this.total.minSize = Math.min(this.total.minSize, item.minSize); 85 this.total.maxSize = Math.max(this.total.maxSize, item.maxSize); 87 item.gpuName = SpSystemTrace.DATA_DICT.get(item.gpuNameId) || ''; [all …]
|
| /developtools/smartperf_host/ide/src/trace/component/trace/sheet/freq/ |
| D | TabPaneCpuFreqLimits.ts | 77 let groupMapData = (time: number, id: string, item: CpuFreqLimitsStruct) => { 83 limit.cpu = `Cpu ${item.cpu}`; 86 limit.value = isMax ? item.max! : item.min!; 90 list.forEach((item) => { 91 if (item.startNs! > end) { 94 let max = Math.max(item.startNs || 0, start); 95 let min = Math.min((item.startNs || 0) + item.dur, end); 97 let maxId = `${item.cpu}-${item.max}-max`; 98 let minId = `${item.cpu}-${item.min}-min`; 99 groupMapData(min - max, maxId, item); [all …]
|
| /developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/freq/ |
| D | TabPaneCpuFreqLimits.ts | 77 let groupMapData = (time: number, id: string, item: CpuFreqLimitsStruct) => { 83 limit.cpu = `Cpu ${item.cpu}`; 86 limit.value = isMax ? item.max! : item.min!; 90 list.forEach((item) => { 91 if (item.startNs! > end) { 94 let max = Math.max(item.startNs || 0, start); 95 let min = Math.min((item.startNs || 0) + item.dur, end); 97 let maxId = `${item.cpu}-${item.max}-max`; 98 let minId = `${item.cpu}-${item.min}-min`; 99 groupMapData(min - max, maxId, item); [all …]
|
| /developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/components/renderer/ |
| D | XAxisView.ets | 80 // for(let item of this.paints){ 81 // if(item){ 82 // arr.push(item); 91 ForEach(this.scaleMode.xAixsMode.paints, (item: Paint) => { 92 if (item instanceof LinePaint) { 94 .startPoint(item.startPoint) 95 .endPoint(item.endPoint) 96 .fill(item.fill) 97 .stroke(item.stroke) 98 .strokeWidth(item.strokeWidth) [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/integration_verification/tools/deps_guard/elf_file_mgr/module_info/ |
| D | compile_info_loader.py | 33 for item in modules: 35 info["name"] = item["dest"][0] 37 if len(item["dest"]) > 1: 38 info["name"] = item["dest"][1] 42 if "label" in item: 43 info["labelPath"] = item["label"] 48 if "subsystem_name" in item: 49 info["subsystem"] = item["subsystem_name"] 55 if "part_name" in item: 56 info["componentName"] = item["part_name"] [all …]
|
| /developtools/smartperf_host/ide/src/trace/component/ |
| D | SpHelp.ts | 64 clickHandler: function (item: MenuItem) { 79 clickHandler: function (item: MenuItem) { 94 clickHandler: function (item: MenuItem) { 109 clickHandler: function (item: MenuItem) { 124 clickHandler: function (item: MenuItem) { 139 clickHandler: function (item: MenuItem) { 154 clickHandler: function (item: MenuItem) { 169 clickHandler: function (item: MenuItem) { 184 clickHandler: function (item: MenuItem) { 199 clickHandler: function (item: MenuItem) { [all …]
|
| /developtools/ace_ets2bundle/compiler/src/ |
| D | process_component_constructor.ts | 40 let ctorNode: any = members.find(item => { 41 return ts.isConstructorDeclaration(item); 122 tsPara.forEach((item) => { 123 let parameter: ts.ParameterDeclaration = item; 124 switch (item.name.escapedText) { 126 parameter = ts.factory.updateParameterDeclaration(item, item.decorators, item.modifiers, 127 item.dotDotDotToken, item.name, item.questionToken, 128 ts.factory.createKeywordTypeNode(ts.SyntaxKind.StringKeyword), item.initializer); 131 parameter = ts.factory.createParameterDeclaration(item.decorators, item.modifiers, 132 item.dotDotDotToken, item.name, item.questionToken, [all …]
|
| /developtools/profiler/host/smartperf/ide/src/trace/component/ |
| D | SpHelp.ts | 64 clickHandler: function (item: MenuItem) { 79 clickHandler: function (item: MenuItem) { 94 clickHandler: function (item: MenuItem) { 109 clickHandler: function (item: MenuItem) { 124 clickHandler: function (item: MenuItem) { 139 clickHandler: function (item: MenuItem) { 154 clickHandler: function (item: MenuItem) { 169 clickHandler: function (item: MenuItem) { 184 clickHandler: function (item: MenuItem) { 199 clickHandler: function (item: MenuItem) { [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 | 39 ForEach(this.model.paints, (item:Paint) => { 40 if(item instanceof CirclePaint){ 42 .width(item.width) 43 .height(item.height) 44 .fill(item.stroke) 45 .position({ x: item.x, y: item.y }) 46 }else if(item.constructor.name == "RectPaint"){ 47 Rect({width: item.width, height: item.height}) 48 .fill(item.stroke) 49 .position({ x: item.x, y: item.y }) [all …]
|
| /developtools/smartperf_host/ide/src/trace/component/trace/sheet/ark-ts/ |
| D | TabPaneJsCpu.ts | 74 list.forEach((item) => { 75 item.querySelectorAll('svg').forEach((svg) => { 86 data.forEach((item) => { 87 if (item.children && item.children.length > 0) { 88 item.children.forEach((it) => { 89 it.parentId = item.id; 92 callTreeMap.set(item.id, item); 93 if (item.scriptName === 'unknown') { 94 item.symbolName = item.name; 96 item.symbolName = item.name + ` ${item.scriptName}`; [all …]
|
| /developtools/smartperf_host/ide/src/trace/component/trace/sheet/smaps/ |
| D | TabPaneSmapsComparison.ts | 138 for (const item of base) { constant 139 diffMap.set(item.type + ' ' + item.path, item.clone(true)); 142 for (const item of target) { constant 143 if (diffMap.has(item.type + ' ' + item.path)) { 144 const diffItem = diffMap.get(item.type + ' ' + item.path); 145 diffItem!.size = diffItem!.size - item.size; 146 diffItem!.count = diffItem!.count - item.count; 147 diffItem!.rss = diffItem!.rss - item.rss; 148 diffItem!.pss = diffItem!.pss - item.pss; 149 diffItem!.sharedClean = diffItem!.sharedClean - item.sharedClean; [all …]
|