Home
last modified time | relevance | path

Searched refs:getByteWithUnit (Results 1 – 14 of 14) sorted by relevance

/developtools/smartperf_host/ide/src/trace/component/trace/sheet/smaps/
DTabPaneSmapsRecord.ts21 import { getByteWithUnit } from '../../../../database/logic-worker/ProcedureLogicWorkerCommon';
74 … this.smapsRecordDataSource.push({ name: 'RenderServiceCpu', size: getByteWithUnit(res.size) });
77 … this.smapsRecordDataSource.push({ name: 'SkiaCpu', size: getByteWithUnit(res.size) });
81 … this.smapsRecordDataSource.push({ name: 'GLESHostCache', size: getByteWithUnit(size) });
91 …this.smapsRecordDataSource.push({ name: 'ProcessCache', size: getByteWithUnit(ProcessCacheSize) });
95 { name: 'Total', size: getByteWithUnit(totalSize) }
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/native-memory/
DTabPaneNMStatstics.ts108 data.memoryTap = `Malloc ${Utils.getByteWithUnit(malloc.heapSize)}`;
110 data.memoryTap = `Mmap ${Utils.getByteWithUnit(malloc.heapSize)}`;
119 data.existingString = Utils.getByteWithUnit(data.existing);
120 data.freeByteString = Utils.getByteWithUnit(malloc.freeByte);
121 data.totalBytesString = Utils.getByteWithUnit(data.totalBytes);
122 data.maxStr = Utils.getByteWithUnit(malloc.heapSize);
148 data.freeByteString = Utils.getByteWithUnit(sub.freeByte);
149 data.existingString = Utils.getByteWithUnit(data.existing);
150 data.totalBytesString = Utils.getByteWithUnit(data.totalBytes);
151 data.maxStr = Utils.getByteWithUnit(sub.max);
[all …]
DTabPaneNMSampleList.ts124 childSample.growth = Utils.getByteWithUnit(merageSample.growth);
208 childSample.growth = Utils.getByteWithUnit(child.growth);
210 childSample.totalGrowth = Utils.getByteWithUnit(child.total);
213 childSample.current = Utils.getByteWithUnit(child.current);
233 currentSample.growth = Utils.getByteWithUnit(currentSample.heapSize);
349 nmRootSample.growth = Utils.getByteWithUnit(nmRootSample.heapSize);
350 nmRootSample.totalGrowth = Utils.getByteWithUnit(nmRootSample.total);
356 nmRootSample.growth = Utils.getByteWithUnit(nmRootSample.heapSize);
358 nmRootSample.totalGrowth = Utils.getByteWithUnit(nmRootSample.total);
369 nmRootSample.growth = Utils.getByteWithUnit(nmRootSample.heapSize);
[all …]
DTabPaneNMemory.ts30 getByteWithUnit,
306 return getByteWithUnit(heapSize);
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/vmtracker/
DTabPaneGpuResourceVmTracker.ts18 import { getByteWithUnit } from '../../../../database/logic-worker/ProcedureLogicWorkerCommon';
43 size: getByteWithUnit(results[i].totalSize || 0),
50 { name: 'Total', size: getByteWithUnit(totalSize) }
/developtools/smartperf_host/ide/test/trace/database/logic-worker/
DProcedureLogicWorkerCommon.test.ts21 getByteWithUnit,
82 expect(getByteWithUnit(-1_000_000_001)).toBe('-953.67 Mb');
86 expect(getByteWithUnit(1_000_000_001)).toBe('953.67 Mb');
90 expect(getByteWithUnit(1_000_001)).toBe('976.56 Kb');
94 expect(getByteWithUnit(1_001)).toBe('1001 byte');
98 expect(getByteWithUnit(1_000_000_000_1)).toBe('9.31 Gb');
/developtools/smartperf_host/ide/src/trace/bean/
DNativeHook.ts116 this.growth = Utils.getByteWithUnit(this.heapSize);
117 this.current = Utils.getByteWithUnit(this.currentSize);
118 this.totalGrowth = Utils.getByteWithUnit(this.total);
/developtools/smartperf_host/ide/test/trace/component/trace/base/
DUtils.test.ts68 expect(Utils.getByteWithUnit(2_000_000_000)).toBe('1.86 Gb');
72 expect(Utils.getByteWithUnit(1_000_000_000)).toBe('953.67 Mb');
76 expect(Utils.getByteWithUnit(1000_000)).toBe('976.56 Kb');
80 expect(Utils.getByteWithUnit(-2_000)).toBe('-1.95 Kb');
/developtools/smartperf_host/ide/src/trace/component/trace/base/
DUtils.ts243 public static getByteWithUnit(bytes: number): string { method in Utils
245 return '-' + this.getByteWithUnit(Math.abs(bytes));
/developtools/smartperf_host/ide/src/trace/component/chart/
DSpNativeMemoryChart.ts151 tip = `<span>${Utils.getByteWithUnit(HeapStruct.hoverHeapStruct.heapsize!)}</span>`;
DFrameChart.ts407 calibration = Utils.getByteWithUnit(((this.total * sizeRatio) / 10) * i);
786 const size = Utils.getByteWithUnit(this.getNodeValue(hoverNode));
/developtools/smartperf_host/ide/src/trace/database/logic-worker/
DProcedureLogicWorkerNativeNemory.ts19 getByteWithUnit,
490 stack.heapSizeStr = `${getByteWithUnit(stack.size)}`;
507 stack.heapSizeStr = `${getByteWithUnit(stack!.size)}`;
1166 this.heapSizeStr = `${getByteWithUnit(this.heapSize)}`;
DProcedureLogicWorkerCommon.ts418 export let getByteWithUnit = (bytes: number): string => { property in LogicHandler
420 return '-' + getByteWithUnit(Math.abs(bytes));
DProcedureLogicWorkerFileSystem.ts20 getByteWithUnit,
471 event.sizeStr = getByteWithUnit(event.size);
493 event.sizeStr = getByteWithUnit(event.size * 4096);