Lines Matching refs:mi
737 SysMemInfo mi; in TEST() local
738 ASSERT_TRUE(mi.ReadMemInfo(tf.path)); in TEST()
739 EXPECT_EQ(mi.mem_total_kb(), 3019740); in TEST()
740 EXPECT_EQ(mi.mem_free_kb(), 1809728); in TEST()
741 EXPECT_EQ(mi.mem_buffers_kb(), 54736); in TEST()
742 EXPECT_EQ(mi.mem_cached_kb(), 776052); in TEST()
743 EXPECT_EQ(mi.mem_shmem_kb(), 4020); in TEST()
744 EXPECT_EQ(mi.mem_slab_kb(), 86464); in TEST()
745 EXPECT_EQ(mi.mem_slab_reclaimable_kb(), 44432); in TEST()
746 EXPECT_EQ(mi.mem_slab_unreclaimable_kb(), 42032); in TEST()
747 EXPECT_EQ(mi.mem_swap_kb(), 32768); in TEST()
748 EXPECT_EQ(mi.mem_swap_free_kb(), 4096); in TEST()
749 EXPECT_EQ(mi.mem_mapped_kb(), 62624); in TEST()
750 EXPECT_EQ(mi.mem_vmalloc_used_kb(), 65536); in TEST()
751 EXPECT_EQ(mi.mem_page_tables_kb(), 2900); in TEST()
752 EXPECT_EQ(mi.mem_kernel_stack_kb(), 4880); in TEST()
753 EXPECT_EQ(mi.mem_kreclaimable_kb(), 87324); in TEST()
754 EXPECT_EQ(mi.mem_active_kb(), 445856); in TEST()
755 EXPECT_EQ(mi.mem_inactive_kb(), 459092); in TEST()
756 EXPECT_EQ(mi.mem_unevictable_kb(), 3096); in TEST()
765 SysMemInfo mi; in TEST() local
766 EXPECT_TRUE(mi.ReadMemInfo(tf.path)); in TEST()
767 EXPECT_EQ(mi.mem_total_kb(), 0); in TEST()
773 SysMemInfo mi; in TEST() local
775 EXPECT_EQ(mi.mem_zram_kb(zram_mmstat_dir.c_str()), 30504); in TEST()
778 EXPECT_EQ(mi.mem_zram_kb(zram_memused_dir.c_str()), 30504); in TEST()
860 SysMemInfo mi; in TEST() local
864 EXPECT_TRUE(mi.ReadMemInfo(tags.size(), tags.data(), mem.data(), file.c_str())); in TEST()