/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/ |
H A D | get_ram_info.cpp | 128 ram.totalPss = GetTotalPss(smapsInfo); in GetUsedRam() 130 uint64_t totalValue = ram.totalPss + ram.kernelUsed; in GetUsedRam() 136 ram.cachedInfo = GetCachedInfo(meminfo); in GetFreeRam() 137 ram.freeInfo = GetFreeInfo(meminfo); in GetFreeRam() 138 uint64_t totalValue = ram.cachedInfo + ram.freeInfo; in GetFreeRam() 164 Ram ram; in GetRam() local 166 ram.total = GetTotalRam(meminfo); in GetRam() 167 ram.used = GetUsedRam(smapsInfo, meminfo, ram); in GetRam() 168 ram.free = GetFreeRam(meminfo, ram); in GetRam() 169 ram.lost = GetLostRam(smapsInfo, meminfo); in GetRam() [all …]
|
H A D | memory_info.cpp | 388 GetRamInfo::Ram ram = getRamInfo->GetRam(smapsinfos, meminfo); in GetRamUsage() local 392 SaveStringToFd(rawParamFd_, totalTitle + AddKbUnit(ram.total) + "\n"); in GetRamUsage() 396 SaveStringToFd(rawParamFd_, freeTitle + AddKbUnit(ram.free) + in GetRamUsage() 397 " (" + to_string(ram.cachedInfo) + " cached + " + to_string(ram.freeInfo) + " free)\n"); in GetRamUsage() 401 SaveStringToFd(rawParamFd_, usedTitle + AddKbUnit(ram.used) + in GetRamUsage() 402 … " (" + to_string(ram.totalPss) + " total pss + " + to_string(ram.kernelUsed) + " kernel)\n"); in GetRamUsage() 406 …SaveStringToFd(rawParamFd_, lostTitle + to_string(ram.lost) + MemoryUtil::GetInstance().KB_UNIT_ +… in GetRamUsage()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-application-appManager.md | 3 appManager模块提供App管理的能力,包括查询当前是否处于稳定性测试场景、查询是否为ram受限设备、获取应用程序的内存大小、获取有关运行进程的信息等。 76 查询是否为ram受限设备。使用Promise异步回调。 84 | Promise<boolean> | Promise对象。返回true表示是ram受限设备;返回false表示不是ram受限设备。 | 103 查询是否为ram受限设备。使用callback异步回调。 111 | callback | AsyncCallback<boolean> | 是 | 回调函数。返回true表示当前是ram受限设备;返回false表示当前不是ram受限设备。 |
|
H A D | js-apis-app-ability-appManager.md | 3 appManager模块提供App管理的能力,包括查询当前是否处于稳定性测试场景、查询是否为ram受限设备、获取应用程序的内存大小、获取有关运行进程的信息等。 113 查询是否为ram受限设备。使用Promise异步回调。 123 …mise<boolean> | 以Promise方式返回接口运行结果及当前设备是否为ram受限设备,可进行错误处理或其他自定义处理。true:当前设备为ram受限设备,false:当前… 150 查询是否为ram受限设备。使用callback异步回调。 160 …llback<boolean> | 是 |以回调方式返回接口运行结果及当前设备是否为ram受限设备,可进行错误处理或其他自定义处理。true:当前设备为ram受限设备,false:当前…
|
/ohos5.0/base/hiviewdfx/hiview/build/ |
H A D | gen_plugin_build.py | 143 def __init__(self, target_os, product, platform, arch, ram, rom): argument 148 self.ram = self.get_memory_size(ram) 182 if self.ram > args_para.ram: 199 self.ram = self.get_memory_size(value) 212 args_para.ram, 376 if args_para.rom == -1 or args_para.ram == -1:
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/font/ |
H A D | ui_font_cache.cpp | 23 UIFontCache::UIFontCache(uint8_t* ram, uint32_t size) in UIFontCache() argument 25 if (ram == nullptr) { in UIFontCache() 28 allocator_.SetRamAddr(ram, size); in UIFontCache()
|
H A D | ui_font_allocator.cpp | 32 void UIFontAllocator::SetRamAddr(uint8_t* ram, uint32_t size) in SetRamAddr() argument 38 if (ram == nullptr) { in SetRamAddr() 43 UI_ADDR_ALIGN(ram, size); in SetRamAddr() 44 ram_ = ram; in SetRamAddr()
|
H A D | ui_font_allocator.h | 38 void SetRamAddr(uint8_t* ram, uint32_t size);
|
H A D | ui_font_cache.h | 65 UIFontCache(uint8_t* ram, uint32_t size);
|
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/ |
H A D | get_ram_info.h | 57 uint64_t GetUsedRam(const GroupMap &smapsInfo, const ValueMap &meminfo, Ram &ram) const; 58 uint64_t GetFreeRam(const ValueMap &meminfo, Ram &ram) const;
|
/ohos5.0/docs/zh-cn/device-dev/quick-start/ |
H A D | quickstart-pkg-3516-helloworld.md | 78 "ram": "", 99 "ram": "",
|
H A D | quickstart-ide-3516-helloworld.md | 86 "ram": "", 107 "ram": "",
|
H A D | quickstart-pkg-3861-helloworld.md | 82 "ram": "", 103 "ram": "",
|
H A D | quickstart-ide-3861-helloworld.md | 92 "ram": "", 113 "ram": "",
|
/ohos5.0/build/tools/component_tools/static_check/ |
H A D | readme.md | 90 - component:ram 124 "ram": "", # 部件RAM估值, 不能为空 163 "ram": "~200KB", # 根据实际情况估算,'~'表示大概
|
/ohos5.0/docs/zh-cn/application-dev/web/ |
H A D | web-cookie-and-data-storage-mgmt.md | 102 // 设置为true时同时清除rom和ram中的缓存,设置为false时只清除ram中的缓存
|
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/hdi_template/peripheral/ |
H A D | bundle_json.template | 12 "ram": "7400KB",
|
/ohos5.0/docs/en/device-dev/quick-start/ |
H A D | quickstart-pkg-3516-helloworld.md | 78 "ram": "", 99 "ram": "",
|
H A D | quickstart-ide-3516-helloworld.md | 87 "ram": "", 108 "ram": "",
|
H A D | quickstart-pkg-3861-helloworld.md | 82 "ram": "", 103 "ram": "",
|
H A D | quickstart-ide-3861-helloworld.md | 93 "ram": "", 114 "ram": "",
|
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/hdi_template/interface/ |
H A D | bundle_json.template | 12 "ram": "1024KB",
|
/ohos5.0/base/hiviewdfx/hiview/ |
H A D | hiview_zh.md | 202 | 平台配置规则 | 包含对应的rom、ram、加载时间等信息 | 234 "ram": "1G" # ram规则
|
/ohos5.0/docs/zh-cn/device-dev/hpm-part/ |
H A D | hpm-part-reference.md | 112 "ram": "1024", 139 - ram&rom:统计相关信息:预计占用ROM和RAM信息。
|
/ohos5.0/docs/zh-cn/device-dev/subsystems/ |
H A D | subsys-build-component-building-rules.md | 117 |component:ram|string。RAM基线值,必填,单位默认为KByte。|静态检查|
|