/external/libchrome/base/process/ |
D | process_metrics_unittest.cc | 89 struct SystemMemoryInfoKB meminfo; in TEST_F() local 102 EXPECT_FALSE(ParseProcMeminfo(invalid_input1, &meminfo)); in TEST_F() 103 EXPECT_FALSE(ParseProcMeminfo(invalid_input2, &meminfo)); in TEST_F() 104 EXPECT_FALSE(ParseProcMeminfo(invalid_input3, &meminfo)); in TEST_F() 171 EXPECT_TRUE(ParseProcMeminfo(valid_input1, &meminfo)); in TEST_F() 172 EXPECT_EQ(meminfo.total, 3981504); in TEST_F() 173 EXPECT_EQ(meminfo.free, 140764); in TEST_F() 174 EXPECT_EQ(meminfo.buffers, 116480); in TEST_F() 175 EXPECT_EQ(meminfo.cached, 406160); in TEST_F() 176 EXPECT_EQ(meminfo.active_anon, 2972352); in TEST_F() [all …]
|
D | process_metrics_linux.cc | 434 SystemMemoryInfoKB meminfo; in GetSystemCommitCharge() local 435 if (!GetSystemMemoryInfo(&meminfo)) in GetSystemCommitCharge() 437 return meminfo.total - meminfo.free - meminfo.buffers - meminfo.cached; in GetSystemCommitCharge() 598 SystemMemoryInfoKB* meminfo) { in ParseProcMeminfo() argument 611 meminfo->total = 0; in ParseProcMeminfo() 627 target = &meminfo->total; in ParseProcMeminfo() 629 target = &meminfo->free; in ParseProcMeminfo() 632 target = &meminfo->available; in ParseProcMeminfo() 635 target = &meminfo->buffers; in ParseProcMeminfo() 637 target = &meminfo->cached; in ParseProcMeminfo() [all …]
|
D | process_metrics.h | 318 BASE_EXPORT bool GetSystemMemoryInfo(SystemMemoryInfoKB* meminfo); 341 SystemMemoryInfoKB* meminfo); 346 SystemMemoryInfoKB* meminfo);
|
D | process_metrics_mac.cc | 372 bool GetSystemMemoryInfo(SystemMemoryInfoKB* meminfo) { in GetSystemMemoryInfo() argument 382 meminfo->total = static_cast<int>(hostinfo.max_mem / 1024); in GetSystemMemoryInfo() 393 meminfo->free = static_cast<int>( in GetSystemMemoryInfo()
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/ |
D | linux_based_platform_backend.py | 29 meminfo = self._GetProcFileDict(meminfo_contents) 30 if not meminfo: 32 return (self._ConvertToKb(meminfo['MemTotal']) 33 - self._ConvertToKb(meminfo['MemFree']) 34 - self._ConvertToKb(meminfo['Buffers']) 35 - self._ConvertToKb(meminfo['Cached'])) 40 meminfo = self._GetProcFileDict(meminfo_contents) 41 if not meminfo: 43 return self._ConvertToBytes(meminfo['MemTotal'])
|
/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/profilers/catprofile/ |
D | control | 1 job.profilers.add('catprofile', ['/proc/meminfo','/proc/uptime'], 'meminfo', 2)
|
/external/ltp/tools/pounder21/test_scripts/ |
D | ramsnake | 38 MEM_AVAIL=$(( `grep ^MemFree: /proc/meminfo | awk -F " " '{print $2}'` + `grep ^Cached: /proc/memin…
|
D | memxfer5b | 31 RAM=`cat /proc/meminfo | grep MemTotal | awk -F " " '{print $2}'`
|
D | statslogging | 44 cat /proc/meminfo >> $INFOFILE
|
/external/libchrome/base/metrics/ |
D | persistent_memory_allocator.cc | 571 void PersistentMemoryAllocator::GetMemoryInfo(MemoryInfo* meminfo) const { in GetMemoryInfo() 575 meminfo->total = mem_size_; in GetMemoryInfo() 576 meminfo->free = IsCorrupt() ? 0 : remaining - sizeof(BlockHeader); in GetMemoryInfo() 723 MemoryInfo meminfo; in UpdateTrackingHistograms() local 724 GetMemoryInfo(&meminfo); in UpdateTrackingHistograms() 726 ((meminfo.total - meminfo.free) * 100ULL / meminfo.total)); in UpdateTrackingHistograms()
|
/external/syslinux/gpxe/src/arch/i386/core/ |
D | freebsd_loader.c | 267 bsdinfo.bi_basemem = meminfo.basememsize; in elf_freebsd_boot() 268 bsdinfo.bi_extmem = meminfo.memsize; in elf_freebsd_boot() 365 bsdinfo.bi_basemem = meminfo.basememsize; in aout_freebsd_boot() 366 bsdinfo.bi_extmem = meminfo.memsize; in aout_freebsd_boot()
|
/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/linux-kselftest/tools/testing/selftests/vm/ |
D | run_vmtests | 17 done < /proc/meminfo 36 done < /proc/meminfo
|
/external/ltp/testcases/commands/mkswap/ |
D | mkswap01.sh | 77 local before=`awk '/SwapTotal/ {print $2}' /proc/meminfo` 111 local after=`awk '/SwapTotal/ {print $2}' /proc/meminfo`
|
/external/libnl/lib/idiag/ |
D | idiag.c | 164 __ADD(IDIAG_ATTR_MEMINFO, meminfo) 253 __ADD(IDIAG_ATTR_MEMINFO, meminfo)
|
/external/ltp/testcases/kdump/lib/ |
D | sysinfo.sh | 18 cat /proc/meminfo
|
/external/netperf/doc/examples/ |
D | runemomniaggdemo.sh | 239 cat /proc/meminfo 2>&1 > meminfo.txt
|
/external/ltp/testcases/kernel/tracing/ftrace_test/ftrace_stress/ |
D | ftrace_buffer_size_kb.sh | 19 free_mem=`cat /proc/meminfo | grep '^MemFree' | awk '{ print $2 }'`
|
/external/ltp/tools/pounder21/build_scripts/ |
D | bonnie++ | 28 RAM=`cat /proc/meminfo | grep MemTotal | awk -F " " '{print $2}'`
|
D | memtest | 24 RAM=`cat /proc/meminfo | grep MemTotal | awk -F " " '{print $2}'`
|
/external/ltp/tools/top-LTP/proc/ |
D | sysinfo.h | 53 extern void meminfo(void);
|
/external/toolchain-utils/crosperf/ |
D | machine_manager.py | 62 self.meminfo = None 89 line = self.meminfo.splitlines()[0] 123 ret, self.meminfo, _ = self.ce.CrosRunCommandWOutput( 643 self.meminfo = self.MEMINFO_STRING
|
/external/ltp/tools/pounder21/test_repo/ |
D | D01stats | 44 cat /proc/meminfo >> $INFOFILE
|
/external/syslinux/com32/modules/ |
D | Makefile | 23 meminfo.c32 sdi.c32 sanboot.c32 ifcpu64.c32 vesainfo.c32 \
|