Home
last modified time | relevance | path

Searched refs:total (Results 1 – 25 of 69) sorted by relevance

123

/developtools/smartperf_host/ide/src/trace/component/trace/sheet/ability/
DTabPaneDmaAbility.ts32 private total: Dma = new Dma(); property in TabPaneDmaAbility
78 this.total = new Dma();
79 this.total.process = '*All*';
87 this.total.avgSize += dmaItem.avgSize;
88 if (this.total.minSize < 0) {
89 this.total.minSize = dmaItem.minSize;
91 if (this.total.maxSize < 0) {
92 this.total.maxSize = dmaItem.maxSize;
94 this.total.minSize = Math.min(this.total.minSize, dmaItem.minSize);
95 this.total.maxSize = Math.max(this.total.maxSize, dmaItem.maxSize);
[all …]
DTabPaneGpuMemoryAbility.ts33 private total: GpuMemory = new GpuMemory(); property in TabPaneGpuMemoryAbility
80 this.total = new GpuMemory();
81 this.total.process = '*All*';
82 this.total.gpuName = '*All*';
90 this.total.avgSize += gpuMemoryItem.avgSize;
91 if (this.total.minSize < 0) {
92 this.total.minSize = gpuMemoryItem.minSize;
94 if (this.total.maxSize < 0) {
95 this.total.maxSize = gpuMemoryItem.maxSize;
97 this.total.minSize = Math.min(this.total.minSize, gpuMemoryItem.minSize);
[all …]
DTabPanePurgTotal.ts79 let total = this.totalData(this.purgeableTotalSource);
80 this.purgeableTotalSource.unshift(total);
161 let total = this.totalData(this.purgeableTotalSource);
162 this.purgeableTotalSource.unshift(total);
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/vmtracker/
DTabPaneGpuMemoryVmTracker.ts32 private total: GpuMemory = new GpuMemory(); property in TabPaneGpuMemoryVmTracker
68 this.total = new GpuMemory();
69 this.total.thread = '*All*';
70 this.total.gpuName = '*All*';
77 this.total.avgSize += item.avgSize;
78 if (this.total.minSize < 0) {
79 this.total.minSize = item.minSize;
81 if (this.total.maxSize < 0) {
82 this.total.maxSize = item.maxSize;
84 this.total.minSize = Math.min(this.total.minSize, item.minSize);
[all …]
/developtools/smartperf_host/ide/test/base-ui/chart/column/
DLitChartColumn.test.ts48 total: 45,
57 total: 13,
76 let total = 0; variable
78 total += obj.obj.total;
101 total: 121,
110 total: 131,
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/native-memory/
DTabPaneNMSampleList.test.ts43 total: 980,
78 total: 0,
95 total: 332,
112 total: 9855,
146 total: 990,
162 total: 400,
178 total: 500,
239 total: 100,
267 total: 200,
295 total: 70,
[all …]
/developtools/smartperf_host/ide/test/trace/database/logic-worker/
DProcedureLogicWorkerSchedulingAnalysis.test.ts37 total: 2,
215 total: 2,
232 total: 2,
249 total: 2,
266 total: 2,
283 total: 2,
300 total: 2,
317 total: 2,
334 total: 2,
351 total: 2,
[all …]
DProcedureLogicWorkerCommon.test.ts60 merageBean.total = true;
61 expect(merageBean.total).toBeTruthy();
66 merageBean.total = false;
67 expect(merageBean.total).toBeFalsy();
/developtools/smartperf_host/ide/test/trace/component/schedulingAnalysis/
DTop20ThreadCpuUsage.test.ts38 total: 112,
59 total: 1,
81 total: 65,
97 total: 120,
113 total: 322,
DTabCpuDetailsThreads.test.ts42 total: 132,
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/native-memory/
DTabPaneNMSampleList.ts136 rootSample.total += merageSample.growth;
188 copyTypes[index].total -= item.total;
209 childSample.total = child.total;
210 childSample.totalGrowth = Utils.getByteWithUnit(child.total);
341 nmRootSample.total = 0;
347 nmRootSample.total += parentSample.total;
350 nmRootSample.totalGrowth = Utils.getByteWithUnit(nmRootSample.total);
357 nmRootSample.total += nmRootSample.tempList[1].total;
358 nmRootSample.totalGrowth = Utils.getByteWithUnit(nmRootSample.total);
370 nmRootSample.total += nmRootSample.tempList[0].total;
[all …]
/developtools/smartperf_host/ide/src/trace/bean/
DNativeHook.ts101 total: number = 0; property in NativeHookSamplerInfo
115 this.total += merageObj.total;
118 this.totalGrowth = Utils.getByteWithUnit(this.total);
133 total: number = 0; property in NativeHookSampleQueryInfo
DFrameChartStruct.ts75 export function setFuncFrame(node: ChartStruct, canvasFrame: Rect, total: number, mode: ChartMode):…
93 … node.frame!.width = Math.floor(((node.drawSize || node.size) / total) * canvasFrame.width);
96 … node.frame!.width = Math.floor(((node.drawCount || node.count) / total) * canvasFrame.width);
99 node.frame!.width = Math.floor(((node.drawDur || node.dur) / total) * canvasFrame.width);
102 …node.frame!.width = Math.floor(((node.drawEventCount || node.eventCount) / total) * canvasFrame.wi…
DPerfBottomUpStruct.ts47 const sum = this.children.reduce((total, obj) => total + obj.totalTime, 0);
/developtools/smartperf_host/ide/src/trace/component/schedulingAnalysis/
DTop20ThreadCpuUsage.ts54 total: { key: '', sort: 0 },
263 total: it.total,
333 let total = 0;
335 total += obj.obj.total;
348 … ${a.length > 1 ? `<div>total:${getProbablyTime(total)}</div>` : ''}
378 total: obj.big,
388 total: obj.mid,
398 total: obj.small,
409 total: obj[type],
/developtools/smartperf_host/ide/src/trace/component/chart/
DSpChartManager.ts216 let total = res[0].total; variable
219 if (total === 0 && startNS === endNS) {
220 total = 1;
223 this.trace.timerShaftEL.totalNS = total;
225 this.trace.timerShaftEL.setRangeNS(0, total);
228 window.totalNS = total;
DFrameChart.ts89 private get total(): number {
197 currentValue = Utils.getBinaryByteWithUnit(this.total);
198 currentValuePercent = this.total / this.rootNode.size;
201 currentValue = `${this.total}`;
202 currentValuePercent = this.total / this.rootNode.count;
205 currentValue = Utils.getProbablyTime(this.total);
206 currentValuePercent = this.total / this.rootNode.dur;
209 currentValue = `${this.total}`;
210 currentValuePercent = this.total / this.rootNode.eventCount;
407 calibration = Utils.getByteWithUnit(((this.total * sizeRatio) / 10) * i);
[all …]
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/
DPerformance.ets127 …SPLogger.DEBUG(TAG, "value start : " + lostFrameMap.get(key).toString() + "total: " + sumLostFram…
142 private getPercent(value: number, total: number): String {
143 SPLogger.DEBUG(TAG, "value end : " + value + "total: " + total);
144 if (isNaN(value) || isNaN(total)) {
147 …let result: String = total <= 0 ? "0.00%" : (Math.round(value / total * 10000) / 100.00).toFixed(2…
148 SPLogger.DEBUG(TAG, "value value / total * 10000 : " + value / total * 10000);
149 …SPLogger.DEBUG(TAG, "value Math.round(value / total * 10000) : " + Math.round(value / total * 1000…
150 …SPLogger.DEBUG(TAG, "value Math.round(value / total * 10000) : " + (Math.round(value / total * 100…
/developtools/smartperf_host/ide/src/trace/database/logic-worker/
DProcedureLogicWorkerSchedulingAnalysis.ts49 this.totalDur = data.params.total;
742 sumBig += item.total;
746 sumMid += item.total;
750 sumSmall += item.total;
753 tidObj.big += cpuType === 'big' ? item.total : 0;
754 tidObj.mid += cpuType === 'mid' ? item.total : 0;
755 tidObj.small += cpuType === 'small' ? item.total : 0;
756 tidObj.total += item.total;
757 tidObj[`cpu${item.cpu}`] = item.total;
764 total: item.total,
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/process/
DTabPaneThreadUsage.ts250 let res = arr.reduce((total, item) => {
251 return total + item.dur;
257 let res = arr.reduce((total, item) => {
258 return total + item.dur;
264 let res = arr.reduce((total, item) => {
265 return total + item.dur;
/developtools/smartperf_host/ide/src/trace/component/
DStackBar.ts90 createBarElement(sv: StackValue, total: number): HTMLDivElement {
101 let weight = ((sv.value * 1.0) / total) * 100.0;
114 let weight = ((sv.value * 1.0) / total) * 100.0;
DSpQuerySQL.ts197 let total = this.statDataArray.length;
198 if (total > maxPageSize) {
203 total: total,
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/ark-ts/
DTabPaneJsCpuStatistics.ts140 let total = this.totalData(this.statisticsSource);
141 this.statisticsSource.unshift(total);
215 let total = this.totalData(this.statisticsSource);
216 this.statisticsSource.unshift(total);
/developtools/smartperf_host/ide/test/trace/bean/
DNativeHook.test.ts252 total: 0,
267 total: expect.any(Number),
300 total: 0,
315 total: expect.any(Number) }, `
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/profiler/item/
DCPU.ets128 let total = user + sys + idle + iowait + irq;
132 let per_user = user * 100.0 / total;
133 let per_sys = sys * 100.0 / total;
134 let per_iowait = iowait * 100.0 / total;
135 let per_irq = irq * 100.0 / total;

123