/external/libchrome/base/process/ |
D | process_metrics_unittest.cc | 94 SystemMemoryInfoKB meminfo; in TEST_F() local 107 EXPECT_FALSE(ParseProcMeminfo(invalid_input1, &meminfo)); in TEST_F() 108 EXPECT_FALSE(ParseProcMeminfo(invalid_input2, &meminfo)); in TEST_F() 109 EXPECT_FALSE(ParseProcMeminfo(invalid_input3, &meminfo)); in TEST_F() 177 EXPECT_TRUE(ParseProcMeminfo(valid_input1, &meminfo)); in TEST_F() 178 EXPECT_EQ(meminfo.total, 3981504); in TEST_F() 179 EXPECT_EQ(meminfo.free, 140764); in TEST_F() 180 EXPECT_EQ(meminfo.available, 535413); in TEST_F() 181 EXPECT_EQ(meminfo.buffers, 116480); in TEST_F() 182 EXPECT_EQ(meminfo.cached, 406160); in TEST_F() [all …]
|
D | process_metrics_linux.cc | 154 void ReadChromeOSGraphicsMemory(SystemMemoryInfoKB* meminfo) { in ReadChromeOSGraphicsMemory() argument 161 meminfo->gem_objects = -1; in ReadChromeOSGraphicsMemory() 162 meminfo->gem_size = -1; in ReadChromeOSGraphicsMemory() 169 meminfo->gem_objects = gem_objects; in ReadChromeOSGraphicsMemory() 170 meminfo->gem_size = gem_size; in ReadChromeOSGraphicsMemory() 182 meminfo->gem_size += mali_size; in ReadChromeOSGraphicsMemory() 371 SystemMemoryInfoKB meminfo; in GetSystemCommitCharge() local 372 if (!GetSystemMemoryInfo(&meminfo)) in GetSystemCommitCharge() 374 return meminfo.total - meminfo.free - meminfo.buffers - meminfo.cached; in GetSystemCommitCharge() 497 bool ParseProcMeminfo(StringPiece meminfo_data, SystemMemoryInfoKB* meminfo) { in ParseProcMeminfo() argument [all …]
|
D | process_metrics.cc | 79 std::unique_ptr<DictionaryValue> meminfo = memory_info_.ToValue(); in ToValue() local 81 meminfo->MergeDictionary(vmstat.get()); in ToValue() 82 res->Set("meminfo", std::move(meminfo)); in ToValue()
|
/external/autotest/client/site_tests/power_LowMemorySuspend/ |
D | power_LowMemorySuspend.py | 28 meminfo = utils.get_meminfo() 29 if meminfo.SwapFree < meminfo.SwapTotal * _LOW_SWAP_THRESHOLD: 31 meminfo.SwapFree, meminfo.SwapTotal) 127 meminfo = utils.get_meminfo() 128 ending_swap_free = meminfo.SwapFree 129 swap_total = meminfo.SwapTotal
|
/external/u-boot/arch/xtensa/lib/ |
D | bootm.c | 42 struct meminfo *mem; in setup_memory_tag() 45 params->size = sizeof(struct meminfo); in setup_memory_tag() 46 mem = (struct meminfo *)params->data; in setup_memory_tag() 81 struct meminfo *mem; in setup_ramdisk_tag() 89 params->size = sizeof(struct meminfo); in setup_ramdisk_tag() 91 mem = (struct meminfo *)params->data; in setup_ramdisk_tag()
|
/external/autotest/client/site_tests/platform_MemoryPressure/ |
D | platform_MemoryPressure.py | 250 meminfo = get_meminfo() 251 perf_results['MemTotal'] = meminfo['MemTotal'] 252 perf_results['SwapTotal'] = meminfo['SwapTotal'] 259 perf_results['Phase1MemFree'] = meminfo['MemFree'] 260 perf_results['Phase1SwapFree'] = meminfo['SwapFree'] 278 meminfo = get_meminfo() 284 perf_results['Phase2MemFree'] = meminfo['MemFree'] 285 perf_results['Phase2SwapFree'] = meminfo['SwapFree']
|
/external/autotest/server/site_tests/kernel_BootMessagesServer/ |
D | kernel_BootMessagesServer.py | 102 def _parse_meminfo(self, meminfo, perf_vals): argument 111 for line in meminfo.splitlines(): 173 meminfo = self._read_meminfo(meminfo_filename) 174 self._parse_meminfo(meminfo, perf_vals)
|
/external/autotest/client/bin/ |
D | utils_unittest.py | 158 meminfo = utils.get_meminfo() 159 self.assertEqual(meminfo.MemTotal, 2048000) 160 self.assertEqual(meminfo.Active_anon, 409600)
|
/external/autotest/client/profilers/catprofile/ |
D | control | 1 job.profilers.add('catprofile', ['/proc/meminfo','/proc/uptime'], 'meminfo', 2)
|
/external/u-boot/arch/xtensa/include/asm/ |
D | bootparam.h | 38 struct meminfo { struct 49 struct meminfo bank[0]; argument
|
/external/linux-kselftest/tools/testing/selftests/memfd/ |
D | run_tests.sh | 23 done < /proc/meminfo 42 done < /proc/meminfo
|
D | run_hugetlbfs_test.sh | 20 done < /proc/meminfo 40 done < /proc/meminfo
|
/external/u-boot/arch/arm/include/asm/ |
D | setup.h | 257 struct meminfo { struct 267 extern struct meminfo meminfo; argument
|
/external/linux-kselftest/android/patches/ |
D | 0013-ANDROID-build-vm-tests.patch | 28 -#get pagesize and freepages from /proc/meminfo 36 -done < /proc/meminfo 55 - done < /proc/meminfo 164 +##get pagesize and freepages from /proc/meminfo 172 +#done < /proc/meminfo 191 +# done < /proc/meminfo
|
/external/ltp/testcases/kernel/controllers/memcg/stress/ |
D | memcg_stress_test.sh | 113 mem_free=`cat /proc/meminfo | grep MemFree | awk '{ print $2 }'` 114 swap_free=`cat /proc/meminfo | grep SwapFree | awk '{ print $2 }'`
|
/external/tensorflow/tensorflow/tools/ci_build/builds/ |
D | print_build_info.sh | 41 MEM_TOTAL=$(grep MemTotal /proc/meminfo | awk '{print $2, $3}') 42 SWAP_TOTAL=$(grep SwapTotal /proc/meminfo | awk '{print $2, $3}')
|
/external/ltp/testcases/commands/mkswap/ |
D | mkswap01.sh | 57 local before=`awk '/SwapTotal/ {print $2}' /proc/meminfo` 96 local after=`awk '/SwapTotal/ {print $2}' /proc/meminfo`
|
/external/u-boot/arch/x86/cpu/broadwell/ |
D | sdram.c | 160 struct memory_info *info = &gd->arch.meminfo; in sdram_find() 249 gd->ram_size = gd->arch.meminfo.total_32bit_memory; in dram_init() 263 gd->arch.pei_meminfo = pei_data->meminfo; in dram_init()
|
/external/libchrome/base/metrics/ |
D | persistent_memory_allocator.cc | 768 void PersistentMemoryAllocator::GetMemoryInfo(MemoryInfo* meminfo) const { in GetMemoryInfo() 772 meminfo->total = mem_size_; in GetMemoryInfo() 773 meminfo->free = remaining - sizeof(BlockHeader); in GetMemoryInfo() 938 MemoryInfo meminfo; in UpdateTrackingHistograms() local 939 GetMemoryInfo(&meminfo); in UpdateTrackingHistograms() 941 ((meminfo.total - meminfo.free) * 100ULL / meminfo.total)); in UpdateTrackingHistograms()
|
/external/perfetto/ui/src/common/ |
D | state.ts | 200 meminfo: boolean; property 244 meminfo: false,
|
/external/libnl/lib/idiag/ |
D | idiag.c | 164 __ADD(IDIAG_ATTR_MEMINFO, meminfo) 253 __ADD(IDIAG_ATTR_MEMINFO, meminfo)
|
/external/perfetto/src/traced/probes/sys_stats/ |
D | sys_stats_data_source.cc | 201 auto* meminfo = sys_stats->add_meminfo(); in ReadMeminfo() local 202 meminfo->set_key(static_cast<protos::pbzero::MeminfoCounters>(counter_id)); in ReadMeminfo() 203 meminfo->set_value(value); in ReadMeminfo()
|
/external/ltp/testcases/kdump/lib/ |
D | sysinfo.sh | 18 cat /proc/meminfo
|
/external/perfetto/protos/perfetto/trace/sys_stats/ |
D | sys_stats.proto | 27 // Counters from /proc/meminfo. Values are in KB. 32 repeated MeminfoValue meminfo = 1; field
|
/external/u-boot/arch/x86/cpu/intel_common/ |
D | mrc.c | 27 struct memory_info *info = &gd->arch.meminfo; in mrc_common_board_get_usable_ram_top() 55 struct memory_info *info = &gd->arch.meminfo; in mrc_common_dram_init_banksize()
|