/external/autotest/client/site_tests/graphics_WebGLAquarium/ |
D | system_sampler.py | 76 mem_info = collections.namedtuple('MemInfo', mem_info_in_kb._fields)( 89 free_mem=mem_info.MemFree, 90 buff_mem=mem_info.Buffers, 91 cached_mem=mem_info.Cached, 92 anon_mem=mem_info.Active_anon + mem_info.Inactive_anon, 93 file_mem=mem_info.Active_file + mem_info.Inactive_file, 94 swap_free=mem_info.SwapFree, 95 swap_used=mem_info.SwapTotal - mem_info.SwapFree, 122 mem_info = {} 131 mem_info[key] = float(value)/1024 [all …]
|
/external/tensorflow/tensorflow/tools/test/ |
D | system_info_lib.py | 69 mem_info = test_log_pb2.MemoryInfo() 71 mem_info.total = vmem.total 72 mem_info.available = vmem.available 73 return mem_info
|
/external/chromium-trace/catapult/systrace/atrace_helper/jni/ |
D | atrace_process_dump.cc | 239 std::map<std::string, uint64_t> mem_info; in TakeAndSerializeMemInfo() local 240 CHECK(procfs_utils::ReadMemInfoStats(&mem_info)); in TakeAndSerializeMemInfo() 243 for (auto it = mem_info.begin(); it != mem_info.end(); ++it) { in TakeAndSerializeMemInfo() 244 if (it != mem_info.begin()) in TakeAndSerializeMemInfo()
|
D | procfs_utils.cc | 116 bool ReadMemInfoStats(std::map<std::string, uint64_t>* mem_info) { in ReadMemInfoStats() argument 131 (*mem_info)[name] = strtoull(&pos_colon[1], nullptr, 10); in ReadMemInfoStats()
|
D | procfs_utils.h | 26 bool ReadMemInfoStats(std::map<std::string, uint64_t>* mem_info);
|
/external/vulkan-validation-layers/layers/ |
D | core_validation.cpp | 300 auto *mem_info = new DEVICE_MEM_INFO(object, mem, pAllocateInfo); in AddMemObjInfo() local 301 dev_data->memObjMap[mem] = unique_ptr<DEVICE_MEM_INFO>(mem_info); in AddMemObjInfo() 305 mem_info->is_dedicated = true; in AddMemObjInfo() 306 mem_info->dedicated_buffer = dedicated->buffer; in AddMemObjInfo() 307 mem_info->dedicated_image = dedicated->image; in AddMemObjInfo() 311 mem_info->is_export = true; in AddMemObjInfo() 312 mem_info->export_handle_type_flags = export_info->handleTypes; in AddMemObjInfo() 400 DEVICE_MEM_INFO *mem_info = GetMemObjInfo(mem); in ClearMemoryObjectBinding() local 402 if (mem_info) { in ClearMemoryObjectBinding() 403 mem_info->obj_bindings.erase({handle, type}); in ClearMemoryObjectBinding() [all …]
|
D | core_validation.h | 440 …l ValidateInsertMemoryRange(layer_data const* dev_data, uint64_t handle, DEVICE_MEM_INFO* mem_info, 443 …void InsertMemoryRange(layer_data const* dev_data, uint64_t handle, DEVICE_MEM_INFO* mem_info, VkD… 445 …alidateInsertImageMemoryRange(layer_data const* dev_data, VkImage image, DEVICE_MEM_INFO* mem_info, 448 …MemoryRange(layer_data const* dev_data, VkImage image, DEVICE_MEM_INFO* mem_info, VkDeviceSize mem… 450 …dateInsertBufferMemoryRange(layer_data const* dev_data, VkBuffer buffer, DEVICE_MEM_INFO* mem_info, 452 …moryRange(layer_data const* dev_data, VkBuffer buffer, DEVICE_MEM_INFO* mem_info, VkDeviceSize mem… 454 …bool ValidateMemoryTypes(const layer_data* dev_data, const DEVICE_MEM_INFO* mem_info, const uint32… 494 void RemoveImageMemoryRange(uint64_t handle, DEVICE_MEM_INFO* mem_info); 495 void RemoveBufferMemoryRange(uint64_t handle, DEVICE_MEM_INFO* mem_info); 857 …geLayouts(layer_data* dev_data, VkDevice device, DEVICE_MEM_INFO const* mem_info, VkDeviceSize off…
|
D | buffer_validation.cpp | 1525 auto mem_info = GetMemObjInfo(mem_binding); in PreCallRecordDestroyImage() local 1526 if (mem_info) { in PreCallRecordDestroyImage() 1527 RemoveImageMemoryRange(obj_struct.handle, mem_info); in PreCallRecordDestroyImage() 3669 …:ValidateMapImageLayouts(layer_data *device_data, VkDevice device, DEVICE_MEM_INFO const *mem_info, in ValidateMapImageLayouts() argument 3675 for (auto image_handle : mem_info->bound_images) { in ValidateMapImageLayouts() 3676 auto img_it = mem_info->bound_ranges.find(image_handle); in ValidateMapImageLayouts() 3677 if (img_it != mem_info->bound_ranges.end()) { in ValidateMapImageLayouts() 3685 … HandleToUint64(mem_info->mem), kVUID_Core_DrawState_InvalidImageLayout, in ValidateMapImageLayouts() 4524 auto mem_info = GetMemObjInfo(mem_binding); in PreCallRecordDestroyBuffer() local 4525 if (mem_info) { in PreCallRecordDestroyBuffer() [all …]
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | memory_optimizer.cc | 1035 MemInfo mem_info; in IdentifySwappingCandidates() local 1036 mem_info.port = port; in IdentifySwappingCandidates() 1037 mem_info.memory_used = live_tensor.memory_used; in IdentifySwappingCandidates() 1068 mem_info.uses_left.emplace_back(input); in IdentifySwappingCandidates() 1071 if (valid && !mem_info.uses_left.empty()) { in IdentifySwappingCandidates() 1081 mem_info.fitness = in IdentifySwappingCandidates() 1083 MathUtil::IPow<double>(mem_info.uses_left.size(), 2) + in IdentifySwappingCandidates() 1085 mem_info.fitness = -mem_info.fitness; in IdentifySwappingCandidates() 1086 mem_state.push_back(mem_info); in IdentifySwappingCandidates() 1093 for (const MemInfo& mem_info : mem_state) { in IdentifySwappingCandidates() local [all …]
|
/external/chromium-trace/catapult/devil/devil/android/tools/ |
D | device_monitor.py | 102 mem_info = '' 104 mem_info = device.ReadFile('/proc/meminfo') 107 for line in mem_info.splitlines():
|
/external/compiler-rt/lib/asan/ |
D | asan_win.cc | 245 MEMORY_BASIC_INFORMATION mem_info = {}; in ShadowExceptionHandler() local 246 if (::VirtualQuery((LPVOID)page, &mem_info, sizeof(mem_info)) == 0) in ShadowExceptionHandler()
|
/external/u-boot/drivers/net/ |
D | lan91c96.c | 144 __maybe_unused word mem_info; in dump_memory_info() local 150 mem_info = SMC_inw(dev, LAN91C96_MIR); in dump_memory_info() 151 PRINTK2 ("Memory: %4d available\n", (mem_info >> 8) * 2048); in dump_memory_info()
|
/external/autotest/client/site_tests/video_VideoDecodeMemoryUsage/ |
D | video_VideoDecodeMemoryUsage.py | 83 mem_info = {x.group(1): int(x.group(2)) 86 return sum(map(mem_info.get, KERNEL_MEMORY_ENTRIES))
|