Lines Matching refs:mi
456 SysMemInfo mi; in TEST() local
457 ASSERT_TRUE(mi.ReadMemInfo(tf.path)); in TEST()
458 EXPECT_EQ(mi.mem_total_kb(), 3019740); in TEST()
459 EXPECT_EQ(mi.mem_free_kb(), 1809728); in TEST()
460 EXPECT_EQ(mi.mem_buffers_kb(), 54736); in TEST()
461 EXPECT_EQ(mi.mem_cached_kb(), 776052); in TEST()
462 EXPECT_EQ(mi.mem_shmem_kb(), 4020); in TEST()
463 EXPECT_EQ(mi.mem_slab_kb(), 86464); in TEST()
464 EXPECT_EQ(mi.mem_slab_reclaimable_kb(), 44432); in TEST()
465 EXPECT_EQ(mi.mem_slab_unreclaimable_kb(), 42032); in TEST()
466 EXPECT_EQ(mi.mem_swap_kb(), 32768); in TEST()
467 EXPECT_EQ(mi.mem_swap_free_kb(), 4096); in TEST()
468 EXPECT_EQ(mi.mem_mapped_kb(), 62624); in TEST()
469 EXPECT_EQ(mi.mem_vmalloc_used_kb(), 65536); in TEST()
470 EXPECT_EQ(mi.mem_page_tables_kb(), 2900); in TEST()
471 EXPECT_EQ(mi.mem_kernel_stack_kb(), 4880); in TEST()
480 SysMemInfo mi; in TEST() local
481 EXPECT_TRUE(mi.ReadMemInfo(tf.path)); in TEST()
482 EXPECT_EQ(mi.mem_total_kb(), 0); in TEST()
488 SysMemInfo mi; in TEST() local
490 EXPECT_EQ(mi.mem_zram_kb(zram_mmstat_dir), 30504); in TEST()
493 EXPECT_EQ(mi.mem_zram_kb(zram_memused_dir), 30504); in TEST()
569 SysMemInfo mi; in TEST() local
572 EXPECT_TRUE(mi.ReadMemInfo(tags, &mem, file)); in TEST()