Home
last modified time | relevance | path

Searched refs:item (Results 1 – 25 of 306) sorted by relevance

12345678910>>...13

/developtools/smartperf_host/ide/src/trace/component/trace/sheet/file-system/
DTabPaneFilesystemStatistics.ts78 getInitData(item: any) {
80 ...item,
81 title: item.name + '(' + item.pid + ')',
82 logicalWrites: Utils.getBinaryByteWithUnit(item.logicalWrites),
83 logicalReads: Utils.getBinaryByteWithUnit(item.logicalReads),
84 otherFile: Utils.getBinaryByteWithUnit(item.otherFile),
85 allDuration: Utils.getProbablyTime(item.allDuration),
86 minDuration: Utils.getProbablyTime(item.minDuration),
87 maxDuration: Utils.getProbablyTime(item.maxDuration),
88 avgDuration: Utils.getProbablyTime(item.avgDuration),
[all …]
DTabPaneVirtualMemoryStatistics.ts136 result.forEach((item, idx) => {
137 this.processChildMap(vmMemoryStatChildMap, item, firstLevel, secondLevel);
138 this.processFatherMap(vmMemoryStatFatherMap, item, firstLevel);
140 vmMemoryStatAllNode.minDuration = item.minDuration;
143 …vmMemoryStatAllNode.minDuration <= item.minDuration ? vmMemoryStatAllNode.minDuration : item.minDu…
145 vmMemoryStatAllNode.count += item.count;
146 vmMemoryStatAllNode.allDuration += item.allDuration;
148 …vmMemoryStatAllNode.maxDuration >= item.maxDuration ? vmMemoryStatAllNode.maxDuration : item.maxDu…
218 …private processFatherMap(vmMemoryStatFatherMap: Map<any, any>, item: any, firstLevel: string): voi…
219 if (vmMemoryStatFatherMap.has(item[firstLevel])) {
[all …]
DTabPaneIOTierStatisticsAnalysis.ts718 for (let item of value) { variable
719 if (item.processName && item.processName.length > 0) {
720 if (!item.processName.endsWith(`(${item.pid})`)) {
721 item.processName = `${item.processName}(${item.pid})`;
724 item.processName = `Process(${item.pid})`;
726 pName = item.processName;
727 ioPidDataDur += item.dur;
744 private getIOTierType(item: any): void {
752 if (item && processItem.pid !== item.pid && !this.hideProcessCheckBox?.checked) {
772 pid: item === null ? value[0].pid : item.pid,
[all …]
/developtools/profiler/hiebpf/src/
Dbpf_event_receiver.cpp192 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/
DSpArkTs.ts181 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/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/components/renderer/
DXAxisView.ets53 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 …]
DYAxisView.ets39 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/trace/component/trace/sheet/gpu/
DTabPaneGpuClickSelect.ts73item: { categoryId: number; size: number; windowNameId: number; moduleId: number; windowId: any }
76 name: SpSystemTrace.DATA_DICT.get(item.categoryId) || 'null',
77 id: item.categoryId,
78 size: item.size,
79 sizeStr: Utils.getBinaryByteWithUnit(item.size),
81 if (group[`${item.windowNameId}(${item.windowId})`]) {
82 let windowGroup = group[`${item.windowNameId}(${item.windowId})`] as GpuTreeItem;
83 windowGroup.size += item.size;
85 let moduleGroup = windowGroup.children!.find((it) => it.id === item.moduleId);
87 moduleGroup.size += item.size;
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/vmtracker/
DTabPaneGpuMemoryVmTrackerComparison.ts56 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 …]
DTabPaneGpuMemoryVmTracker.ts71 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 …]
DTabPaneDmaSelectVmTracker.ts60 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);
78 this.damClickTable!.getItemTextColor = (item: Dma): any => {
79 if (item.flag === 1) {
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/ability/
DTabPaneGpuMemoryComparison.ts55 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 …]
DTabPaneDmaSelectAbility.ts45 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 …]
DTabPaneDmaAbilityComparison.ts54 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 …]
DTabPaneGpuMemorySelectAbility.ts62 gpuMemorySelectTblNode.forEach((item) => {
63 item.querySelectorAll('svg').forEach((svg) => {
74 data.forEach((item) => {
75 if (item.processName !== null) {
76 item.process = `${item.processName}(${item.processId})`;
78 item.process = `Process(${item.processId})`;
80 item.sizes = Utils.getBinaryByteWithUnit(item.size);
81 item.timeStamp = ns2s(item.startNs);
/developtools/smartperf_host/ide/src/base-ui/menu/
DLitMainMenu.ts131 it.children?.forEach((item: any) => {
132 if (item.children && item.children.length > 0) {
134 secondGroup.setAttribute('title', item.title || '');
135 if (item.describe !== '') {
136 secondGroup.setAttribute('describe', item.describe || '');
140 this.setChildren(item,group,groupName,groupDescribe,secondGroup);
142 this.notChildren(item,group,groupName,groupDescribe);
148 …setChildren(item:any,group: LitMainMenuGroup,groupName: LitMainMenuGroup,groupDescribe: LitMainMen…
149 secondGroup.setAttribute('icon', item.icon || '');
150 if (item.second) {
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/freq/
DTabPaneCpuFreqLimits.ts71 let groupMapData = (time: number, id: string, item: CpuFreqLimitsStruct) => {
77 limit.cpu = `Cpu ${item.cpu}`;
80 limit.value = isMax ? item.max! : item.min!;
84 list.forEach((item) => {
85 if (item.startNs! > end) {
88 let max = Math.max(item.startNs || 0, start);
89 let min = Math.min((item.startNs || 0) + item.dur, end);
91 let maxId = `${item.cpu}-${item.max}-max`;
92 let minId = `${item.cpu}-${item.min}-min`;
93 groupMapData(min - max, maxId, item);
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/cpu/
DTabPaneSchedPriority.ts63 function setPriority(item: Priority, strArg: string[]) {
64 if (item.priority >= 0 && item.priority <= 88) {
65 item.priorityType = 'RT';
66 } else if (item.priority >= 89 && item.priority <= 99) {
67 item.priorityType = 'VIP2.0';
69 item.priority >= 100 &&
73 item.priorityType = 'STATIC_VIP';
75 item.priorityType = 'CFS';
86 for (const item of res) { constant
87 if (['R', 'R+'].includes(item.state)) {
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/ark-ts/
DTabPaneJsCpu.ts81 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 if (item.scriptName === 'unknown') {
102 item.symbolName = item.name;
[all …]
/developtools/ace_js2bundle/ace-loader/test/lite/testcase/pages/sick/
Dsick.hml2 <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/smartperf_host/ide/src/trace/component/
DSpHelp.ts59 items.forEach((item) => {
60 item.style.width = '330px';
134 clickHandler: function (item: MenuItem) {
141 clickHandler: function (item: MenuItem) {
148 clickHandler: function (item: MenuItem) {
184 clickHandler: (item: MenuItem) => {
202 clickHandler: function (item: MenuItem) {
209 clickHandler: function (item: MenuItem) {
216 clickHandler: function (item: MenuItem) {
223 clickHandler: function (item: MenuItem) {
[all …]
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/components/
DLegendView.ets39 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/ace_ets2bundle/compiler/src/
Dprocess_component_constructor.ts41 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/profiler/device/plugins/native_daemon/src/
Dhook_manager.cpp114 for (const auto& item : hookCtx_) { in CheckProcessName() local
115 if (item->pid == pidValue) { in CheckProcessName()
337 for (const auto& item : hookCtx_) { in CreatePluginSession() local
338 …CHECK_TRUE(HandleHookContext(item), false, "handle hook context failed"); // Create the required r… in CreatePluginSession()
410 for (const auto& item : hookCtx_) { in DestroyPluginSession() local
411 if (item->eventPoller != nullptr) { in DestroyPluginSession()
413 if (item->eventNotifier != nullptr) { in DestroyPluginSession()
414 item->eventPoller->RemoveFileDescriptor(item->eventNotifier->GetFd()); in DestroyPluginSession()
416 item->eventPoller->Stop(); in DestroyPluginSession()
417 item->eventPoller->Finalize(); in DestroyPluginSession()
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/smaps/
DTabPaneSmapsComparison.ts143 for (const item of base) { constant
144 diffMap.set(item.type + ' ' + item.path, item.clone(true));
147 for (const item of target) { constant
148 if (diffMap.has(item.type + ' ' + item.path)) {
149 const diffItem = diffMap.get(item.type + ' ' + item.path);
150 diffItem!.size = diffItem!.size - item.size;
151 diffItem!.count = diffItem!.count - item.count;
152 diffItem!.rss = diffItem!.rss - item.rss;
153 diffItem!.pss = diffItem!.pss - item.pss;
154 diffItem!.sharedClean = diffItem!.sharedClean - item.sharedClean;
[all …]

12345678910>>...13