/device/linaro/bootloader/arm-trusted-firmware/include/plat/common/ |
platform.h | 41 struct meminfo; 84 struct meminfo *bl1_plat_sec_mem_layout(void); 96 void bl1_init_bl2_mem_layout(const struct meminfo *bl1_mem_layout, 97 struct meminfo *bl2_mem_layout); 102 void bl2_early_platform_setup(struct meminfo *mem_layout); 105 struct meminfo *bl2_plat_sec_mem_layout(void); 138 void bl2_plat_get_bl33_meminfo(struct meminfo *mem_info); 145 void bl2_plat_get_bl30_meminfo(struct meminfo *mem_info); 161 void bl2_plat_get_bl32_meminfo(struct meminfo *mem_info);
|
/external/libchrome/base/process/ |
process_metrics_unittest.cc | 89 struct SystemMemoryInfoKB meminfo; local 102 EXPECT_FALSE(ParseProcMeminfo(invalid_input1, &meminfo)); 103 EXPECT_FALSE(ParseProcMeminfo(invalid_input2, &meminfo)); 104 EXPECT_FALSE(ParseProcMeminfo(invalid_input3, &meminfo)); 171 EXPECT_TRUE(ParseProcMeminfo(valid_input1, &meminfo)); 172 EXPECT_EQ(meminfo.total, 3981504); 173 EXPECT_EQ(meminfo.free, 140764); 174 EXPECT_EQ(meminfo.buffers, 116480); 175 EXPECT_EQ(meminfo.cached, 406160); 176 EXPECT_EQ(meminfo.active_anon, 2972352) 198 struct SystemMemoryInfoKB meminfo; local [all...] |
process_metrics_linux.cc | 434 SystemMemoryInfoKB meminfo; local 435 if (!GetSystemMemoryInfo(&meminfo)) 437 return meminfo.total - meminfo.free - meminfo.buffers - meminfo.cached; 598 SystemMemoryInfoKB* meminfo) { 599 // The format of /proc/meminfo is: 611 meminfo->total = 0; 620 DLOG(WARNING) << "meminfo: tokens: " << tokens.size( [all...] |
process_metrics.h | 313 // from /proc/meminfo and /proc/vmstat. On Windows/Mac, it is obtained using 316 // Fills in the provided |meminfo| structure. Returns true on success. 318 BASE_EXPORT bool GetSystemMemoryInfo(SystemMemoryInfoKB* meminfo); 338 // Parses a string containing the contents of /proc/meminfo 341 SystemMemoryInfoKB* meminfo); 346 SystemMemoryInfoKB* meminfo);
|
process_metrics_mac.cc | 372 bool GetSystemMemoryInfo(SystemMemoryInfoKB* meminfo) { 382 meminfo->total = static_cast<int>(hostinfo.max_mem / 1024); 393 meminfo->free = static_cast<int>(
|
/external/ltp/tools/pounder21/test_scripts/ |
memxfer5b | 31 RAM=`cat /proc/meminfo | grep MemTotal | awk -F " " '{print $2}'`
|
ramsnake | 38 MEM_AVAIL=$(( `grep ^MemFree: /proc/meminfo | awk -F " " '{print $2}'` + `grep ^Cached: /proc/meminfo | awk -F " " '{print $2}'`))
|
statslogging | 43 printf "\n[meminfo]=================\n" >>$INFOFILE 44 cat /proc/meminfo >> $INFOFILE 51 PROC_ENTRIES="buddyinfo diskstats meminfo slabinfo net/netstat net/snmp"
|
/external/ltp/testcases/kdump/lib/ |
sysinfo.sh | 16 echo "------------- /PROC/MEMINFO --------------" 18 cat /proc/meminfo
|
/device/linaro/bootloader/arm-trusted-firmware/plat/juno/ |
juno_private.h | 44 struct meminfo; 210 void bl2_plat_get_bl32_meminfo(struct meminfo *mem_info); 213 void bl2_plat_get_bl33_meminfo(struct meminfo *mem_info);
|
/external/ltp/testcases/kernel/tracing/ftrace_test/ftrace_stress/ |
ftrace_buffer_size_kb.sh | 19 free_mem=`cat /proc/meminfo | grep '^MemFree' | awk '{ print $2 }'`
|
/external/autotest/server/site_tests/kernel_BootMessagesServer/ |
kernel_BootMessagesServer.py | 54 """ Interesting fields from meminfo that we want to log 91 """Fetch /proc/meminfo from client and return lines in the file 93 @param filename: The file to write 'cat /proc/meminfo' into. 97 self._client.run('cat /proc/meminfo', stdout_tee=f) 102 def _parse_meminfo(self, meminfo, perf_vals): 103 """ Parse the contents of each line of meminfo 107 @param filelines: list of lines in meminfo 111 for line in meminfo.splitlines(): 169 meminfo_filename = os.path.join(self.resultsdir, 'meminfo') 173 meminfo = self._read_meminfo(meminfo_filename [all...] |
/external/linux-kselftest/tools/testing/selftests/vm/ |
run_vmtests | 9 #get pagesize and freepages from /proc/meminfo 17 done < /proc/meminfo 36 done < /proc/meminfo
|
/external/ltp/testcases/kernel/controllers/memcg/stress/ |
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/ltp/tools/pounder21/build_scripts/ |
bonnie++ | 28 RAM=`cat /proc/meminfo | grep MemTotal | awk -F " " '{print $2}'`
|
memtest | 24 RAM=`cat /proc/meminfo | grep MemTotal | awk -F " " '{print $2}'`
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
MemHealthRecord.java | 91 String meminfo = getMeminfoOutput(instr, procName); local 92 int nativeHeap = parseMeminfoLine(meminfo, "Native Heap\\s+\\d+\\s+(\\d+)"); 93 int dalvikHeap = parseMeminfoLine(meminfo, "Dalvik Heap\\s+\\d+\\s+(\\d+)"); 94 int pss = parseMeminfoLine(meminfo, "TOTAL\\s+(\\d+)"); 96 int asJavaHeap = parseMeminfoLine(meminfo, "Java Heap:\\s+(\\d+)"); 97 int asNativeHeap = parseMeminfoLine(meminfo, "Native Heap:\\s+(\\d+)"); 98 int asCode = parseMeminfoLine(meminfo, "Code:\\s+(\\d+)"); 99 int asStack = parseMeminfoLine(meminfo, "Stack:\\s+(\\d+)"); 100 int asGraphics = parseMeminfoLine(meminfo, "Graphics:\\s+(\\d+)"); 101 int asOther = parseMeminfoLine(meminfo, "Private Other:\\s+(\\d+)") [all...] |
/external/ltp/testcases/commands/mkswap/ |
mkswap01.sh | 69 local before=`awk '/SwapTotal/ {print $2}' /proc/meminfo` 103 local after=`awk '/SwapTotal/ {print $2}' /proc/meminfo`
|
/external/libnl/lib/idiag/ |
idiag_meminfo_obj.c | 2 * lib/idiag/idiagnl_meminfo_obj.c Inet Diag Meminfo Object 13 #include <netlink/idiag/meminfo.h>
|
idiag.c | 164 __ADD(IDIAG_ATTR_MEMINFO, meminfo) 253 __ADD(IDIAG_ATTR_MEMINFO, meminfo)
|
/external/syslinux/gpxe/src/arch/i386/core/ |
freebsd_loader.c | 267 bsdinfo.bi_basemem = meminfo.basememsize; 268 bsdinfo.bi_extmem = meminfo.memsize; 365 bsdinfo.bi_basemem = meminfo.basememsize; 366 bsdinfo.bi_extmem = meminfo.memsize;
|
/external/libchrome/base/metrics/ |
persistent_memory_allocator.cc | 571 void PersistentMemoryAllocator::GetMemoryInfo(MemoryInfo* meminfo) const { 575 meminfo->total = mem_size_; 576 meminfo->free = IsCorrupt() ? 0 : remaining - sizeof(BlockHeader); 723 MemoryInfo meminfo; local 724 GetMemoryInfo(&meminfo); 726 ((meminfo.total - meminfo.free) * 100ULL / meminfo.total)); [all...] |
/external/syslinux/com32/modules/ |
Makefile | 23 meminfo.c32 sdi.c32 sanboot.c32 ifcpu64.c32 vesainfo.c32 \
|
/system/extras/tests/workloads/ |
defs.sh | 294 ${ADB}cat /proc/meminfo 2>&1 >> $output 295 ${ADB}dumpsys meminfo 2>&1 >> $output 320 ${ADB}cat /proc/meminfo 2>&1 >> $output 321 ${ADB}dumpsys meminfo 2>&1 >> $output
|
/device/linaro/bootloader/arm-trusted-firmware/include/common/ |
bl_common.h | 115 typedef struct meminfo { struct
|