Home
last modified time | relevance | path

Searched refs:ram (Results 1 – 25 of 53) sorted by relevance

123

/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
H A Dget_ram_info.cpp128 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 Dmemory_info.cpp388 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 Djs-apis-application-appManager.md3 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 Djs-apis-app-ability-appManager.md3 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 Dgen_plugin_build.py143 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 Dui_font_cache.cpp23 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 Dui_font_allocator.cpp32 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 Dui_font_allocator.h38 void SetRamAddr(uint8_t* ram, uint32_t size);
H A Dui_font_cache.h65 UIFontCache(uint8_t* ram, uint32_t size);
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/
H A Dget_ram_info.h57 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 Dquickstart-pkg-3516-helloworld.md78 "ram": "",
99 "ram": "",
H A Dquickstart-ide-3516-helloworld.md86 "ram": "",
107 "ram": "",
H A Dquickstart-pkg-3861-helloworld.md82 "ram": "",
103 "ram": "",
H A Dquickstart-ide-3861-helloworld.md92 "ram": "",
113 "ram": "",
/ohos5.0/build/tools/component_tools/static_check/
H A Dreadme.md90 - component:ram
124 "ram": "", # 部件RAM估值, 不能为空
163 "ram": "~200KB", # 根据实际情况估算,'~'表示大概
/ohos5.0/docs/zh-cn/application-dev/web/
H A Dweb-cookie-and-data-storage-mgmt.md102 // 设置为true时同时清除rom和ram中的缓存,设置为false时只清除ram中的缓存
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/hdi_template/peripheral/
H A Dbundle_json.template12 "ram": "7400KB",
/ohos5.0/docs/en/device-dev/quick-start/
H A Dquickstart-pkg-3516-helloworld.md78 "ram": "",
99 "ram": "",
H A Dquickstart-ide-3516-helloworld.md87 "ram": "",
108 "ram": "",
H A Dquickstart-pkg-3861-helloworld.md82 "ram": "",
103 "ram": "",
H A Dquickstart-ide-3861-helloworld.md93 "ram": "",
114 "ram": "",
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/hdi_template/interface/
H A Dbundle_json.template12 "ram": "1024KB",
/ohos5.0/base/hiviewdfx/hiview/
H A Dhiview_zh.md202 | 平台配置规则 | 包含对应的rom、ram、加载时间等信息 |
234 "ram": "1G" # ram规则
/ohos5.0/docs/zh-cn/device-dev/hpm-part/
H A Dhpm-part-reference.md112 "ram": "1024",
139 - ram&rom:统计相关信息:预计占用ROM和RAM信息。
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-build-component-building-rules.md117 |component:ram|string。RAM基线值,必填,单位默认为KByte。|静态检查|

123