Searched refs:getByteWithUnit (Results 1 – 14 of 14) sorted by relevance
21 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) }
108 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 …]
124 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 …]
30 getByteWithUnit,306 return getByteWithUnit(heapSize);
18 import { getByteWithUnit } from '../../../../database/logic-worker/ProcedureLogicWorkerCommon';43 size: getByteWithUnit(results[i].totalSize || 0),50 { name: 'Total', size: getByteWithUnit(totalSize) }
21 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');
116 this.growth = Utils.getByteWithUnit(this.heapSize);117 this.current = Utils.getByteWithUnit(this.currentSize);118 this.totalGrowth = Utils.getByteWithUnit(this.total);
68 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');
243 public static getByteWithUnit(bytes: number): string { method in Utils245 return '-' + this.getByteWithUnit(Math.abs(bytes));
151 tip = `<span>${Utils.getByteWithUnit(HeapStruct.hoverHeapStruct.heapsize!)}</span>`;
407 calibration = Utils.getByteWithUnit(((this.total * sizeRatio) / 10) * i);786 const size = Utils.getByteWithUnit(this.getNodeValue(hoverNode));
19 getByteWithUnit,490 stack.heapSizeStr = `${getByteWithUnit(stack.size)}`;507 stack.heapSizeStr = `${getByteWithUnit(stack!.size)}`;1166 this.heapSizeStr = `${getByteWithUnit(this.heapSize)}`;
418 export let getByteWithUnit = (bytes: number): string => { property in LogicHandler420 return '-' + getByteWithUnit(Math.abs(bytes));
20 getByteWithUnit,471 event.sizeStr = getByteWithUnit(event.size);493 event.sizeStr = getByteWithUnit(event.size * 4096);