Home
last modified time | relevance | path

Searched refs:getBinaryByteWithUnit (Results 1 – 25 of 43) sorted by relevance

12

/developtools/smartperf_host/ide/src/trace/component/trace/sheet/smaps/
DTabPaneSmapsSample.ts98 smaps.swapStr = Utils.getBinaryByteWithUnit(smaps.swap);
99 smaps.rssStr = Utils.getBinaryByteWithUnit(smaps.rss);
100 smaps.pssStr = Utils.getBinaryByteWithUnit(smaps.pss);
101 smaps.sizeStr = Utils.getBinaryByteWithUnit(smaps.size);
102 smaps.sharedCleanStr = Utils.getBinaryByteWithUnit(smaps.sharedClean);
103 smaps.sharedDirtyStr = Utils.getBinaryByteWithUnit(smaps.sharedDirty);
104 smaps.privateCleanStr = Utils.getBinaryByteWithUnit(smaps.privateClean);
105 smaps.privateDirtyStr = Utils.getBinaryByteWithUnit(smaps.privateDirty);
106 smaps.swapPssStr = Utils.getBinaryByteWithUnit(smaps.swapPss);
DTabPaneSmapsStatistics.ts120 smapsTreeObj.sizeStr = Utils.getBinaryByteWithUnit(smapsTreeObj.size);
121 smapsTreeObj.rssStr = Utils.getBinaryByteWithUnit(smapsTreeObj.rss);
122 smapsTreeObj.pssStr = Utils.getBinaryByteWithUnit(smapsTreeObj.pss);
125 smapsTreeObj.sharedCleanStr = Utils.getBinaryByteWithUnit(smapsTreeObj.sharedClean);
126 smapsTreeObj.sharedDirtyStr = Utils.getBinaryByteWithUnit(smapsTreeObj.sharedDirty);
127 smapsTreeObj.privateCleanStr = Utils.getBinaryByteWithUnit(smapsTreeObj.privateClean);
128 smapsTreeObj.privateDirtyStr = Utils.getBinaryByteWithUnit(smapsTreeObj.privateDirty);
129 smapsTreeObj.swapStr = Utils.getBinaryByteWithUnit(smapsTreeObj.swap);
130 smapsTreeObj.swapPssStr = Utils.getBinaryByteWithUnit(smapsTreeObj.swapPss);
148 objTree.sizeStr = Utils.getBinaryByteWithUnit(smaps.size);
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/ability/
DTabPaneDmaAbility.ts97 dmaItem.avgSizes = Utils.getBinaryByteWithUnit(Math.round(dmaItem.avgSize));
98 dmaItem.minSizes = Utils.getBinaryByteWithUnit(dmaItem.minSize);
99 dmaItem.maxSizes = Utils.getBinaryByteWithUnit(dmaItem.maxSize);
101 … this.total.avgSizes = Utils.getBinaryByteWithUnit(Math.round(this.total.avgSize / data.length));
102 this.total.minSizes = Utils.getBinaryByteWithUnit(this.total.minSize);
103 this.total.maxSizes = Utils.getBinaryByteWithUnit(this.total.maxSize);
DTabPaneGpuMemoryAbility.ts102 gpuMemoryItem.avgSizes = Utils.getBinaryByteWithUnit(Math.round(gpuMemoryItem.avgSize));
103 gpuMemoryItem.minSizes = Utils.getBinaryByteWithUnit(gpuMemoryItem.minSize);
104 gpuMemoryItem.maxSizes = Utils.getBinaryByteWithUnit(gpuMemoryItem.maxSize);
106 … this.total.avgSizes = Utils.getBinaryByteWithUnit(Math.round(this.total.avgSize / data.length));
107 this.total.minSizes = Utils.getBinaryByteWithUnit(this.total.minSize);
108 this.total.maxSizes = Utils.getBinaryByteWithUnit(this.total.maxSize);
DTabPanePurgTotalComparisonAbility.ts120 delta.purgActiveDelta = Utils.getBinaryByteWithUnit(data.value);
122 delta.purgInActiveDelta = Utils.getBinaryByteWithUnit(data.value);
124 delta.shmPurgTotalDelta = Utils.getBinaryByteWithUnit(data.value);
DTabPanePurgPinSelection.ts50 … purgePinSelectResults[i].value = Utils.getBinaryByteWithUnit(purgePinSelectResults[i].value);
65 results[i].value = Utils.getBinaryByteWithUnit(results[i].value);
DTabPanePurgTotalSelection.ts51 … purgeTotalSelectResults[i].value = Utils.getBinaryByteWithUnit(purgeTotalSelectResults[i].value);
68 results[i].value = Utils.getBinaryByteWithUnit(results[i].value);
DTabPaneNetworkAbility.ts100 …systemNetworkSummary.dataReceivedStr = Utils.getBinaryByteWithUnit(systemNetworkSummary.dataReceiv…
101 …systemNetworkSummary.dataReceivedSecStr = Utils.getBinaryByteWithUnit(systemNetworkSummary.dataRec…
102 … systemNetworkSummary.dataSendStr = Utils.getBinaryByteWithUnit(systemNetworkSummary.dataSend);
103 …systemNetworkSummary.dataSendSecStr = Utils.getBinaryByteWithUnit(systemNetworkSummary.dataSendSec…
DTabPanePurgPin.ts118 Utils.getBinaryByteWithUnit(avgPurgePinSize),
119 Utils.getBinaryByteWithUnit(maxPurgePinSize),
120 Utils.getBinaryByteWithUnit(minPurgePinSize)
DTabPanePurgTotal.ts114 Utils.getBinaryByteWithUnit(avgSize),
115 Utils.getBinaryByteWithUnit(maxSize),
116 Utils.getBinaryByteWithUnit(minSize)
DTabPanePurgPinComparisonAbility.ts119 delta.purgPinedDelta = Utils.getBinaryByteWithUnit(data.value);
121 delta.shmPurgPinDelta = Utils.getBinaryByteWithUnit(data.value);
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/vmtracker/
DTabPaneGpuMemoryVmTracker.ts92 item.avgSizes = Utils.getBinaryByteWithUnit(Math.round(item.avgSize));
93 item.minSizes = Utils.getBinaryByteWithUnit(item.minSize);
94 item.maxSizes = Utils.getBinaryByteWithUnit(item.maxSize);
96 … this.total.avgSizes = Utils.getBinaryByteWithUnit(Math.round(this.total.avgSize / data.length));
97 this.total.minSizes = Utils.getBinaryByteWithUnit(this.total.minSize);
98 this.total.maxSizes = Utils.getBinaryByteWithUnit(this.total.maxSize);
DTabPaneVmTrackerShm.ts70 filter.sumSizeStr = Utils.getBinaryByteWithUnit(filter.sum); //@ts-ignore
71 filter.avgSizeStr = Utils.getBinaryByteWithUnit(filter.avg); //@ts-ignore
72 filter.minSizeStr = Utils.getBinaryByteWithUnit(filter.min); //@ts-ignore
73 filter.maxSizeStr = Utils.getBinaryByteWithUnit(filter.max);
DTabPaneDmaVmTracker.ts84 item.avgSizes = Utils.getBinaryByteWithUnit(Math.round(item.avgSize));
85 item.minSizes = Utils.getBinaryByteWithUnit(item.minSize);
86 item.maxSizes = Utils.getBinaryByteWithUnit(item.maxSize);
DTabPanePurgTotalComparisonVM.ts125 deltas.purgSumDelta = Utils.getBinaryByteWithUnit(data.value);
127 deltas.shmPurgDelta = Utils.getBinaryByteWithUnit(data.value);
DTabPanePurgPinComparisonVM.ts120 delta.purgPinDelta = Utils.getBinaryByteWithUnit(data.value);
122 delta.shmPurgPinDelta = Utils.getBinaryByteWithUnit(data.value);
DTabPaneGpuMemorySelectVmTracker.ts76 item.sizes = Utils.getBinaryByteWithUnit(item.size);
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/gpu/
DTabPaneGpuClickSelect.ts86 windowGroup.sizeStr = Utils.getBinaryByteWithUnit(windowGroup.size);
90 moduleGroup.sizeStr = Utils.getBinaryByteWithUnit(moduleGroup.size);
97 sizeStr: Utils.getBinaryByteWithUnit(item.size),
107 sizeStr: Utils.getBinaryByteWithUnit(item.size),
113 sizeStr: Utils.getBinaryByteWithUnit(item.size),
135 sizeStr: Utils.getBinaryByteWithUnit(item.size),
DTabPaneGpuTotalBoxSelect.ts73 it.avgSizeStr = Utils.getBinaryByteWithUnit(it.avgSize);
74 it.minSizeStr = Utils.getBinaryByteWithUnit(it.minSize);
75 it.maxSizeStr = Utils.getBinaryByteWithUnit(it.maxSize);
DTabPaneGpuWindowBoxSelect.ts74 it.avgSizeStr = Utils.getBinaryByteWithUnit(it.avgSize);
75 it.minSizeStr = Utils.getBinaryByteWithUnit(it.minSize);
76 it.maxSizeStr = Utils.getBinaryByteWithUnit(it.maxSize);
DTabPaneGraph.ts66 it.sizeStr = Utils.getBinaryByteWithUnit(it.size);
DTabPaneGpuGL.ts65 it.sizeStr = Utils.getBinaryByteWithUnit(it.size);
/developtools/smartperf_host/ide/test/trace/component/trace/base/
DUtils.test.ts120 expect(Utils.getBinaryByteWithUnit(0)).toBe('0Bytes');
124 expect(Utils.getBinaryByteWithUnit(3_000_000_000)).toBe('2.79GB');
128 expect(Utils.getBinaryByteWithUnit(2_000_000)).toBe('1.91MB');
132 expect(Utils.getBinaryByteWithUnit(2_000)).toBe('1.95KB');
236 expect(Utils.getBinaryByteWithUnit(1)).toBe('1.00Bytes');
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/file-system/
DTabPaneFilesystemStatistics.ts82 logicalWrites: Utils.getBinaryByteWithUnit(item.logicalWrites), // @ts-ignore
83 logicalReads: Utils.getBinaryByteWithUnit(item.logicalReads), // @ts-ignore
84 otherFile: Utils.getBinaryByteWithUnit(item.otherFile), // @ts-ignore
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/native-memory/
DTabPaneNMStatisticAnalysis.ts78 this.applySizeFormat = Utils.getBinaryByteWithUnit(this.applySize);
79 this.releaseSizeFormat = Utils.getBinaryByteWithUnit(this.releaseSize);
80 this.existSizeFormat = Utils.getBinaryByteWithUnit(this.existSize);
1053 other.existSizeFormat = Utils.getBinaryByteWithUnit(other.existSize); // @ts-ignore
1054 other.applySizeFormat = Utils.getBinaryByteWithUnit(other.applySize); // @ts-ignore
1055 other.releaseSizeFormat = Utils.getBinaryByteWithUnit(other.releaseSize); // @ts-ignore
1231 existSizeFormat: Utils.getBinaryByteWithUnit(this.currentLevelExistSize),
1235 releaseSizeFormat: Utils.getBinaryByteWithUnit(this.currentLevelReleaseSize),
1239 applySizeFormat: Utils.getBinaryByteWithUnit(this.currentLevelApplySize),

12