Home
last modified time | relevance | path

Searched refs:pss_bytes (Results 1 – 3 of 3) sorted by relevance

/system/extras/memory_replay/tests/
DNativeInfoTest.cpp62 size_t pss_bytes = 1; in TEST_F() local
64 GetNativeInfo(tmp_file_->fd, &pss_bytes, &va_bytes); in TEST_F()
65 ASSERT_EQ(0U, pss_bytes); in TEST_F()
123 size_t pss_bytes = 1; in TEST_F() local
125 GetNativeInfo(tmp_file_->fd, &pss_bytes, &va_bytes); in TEST_F()
126 ASSERT_EQ(32768U, pss_bytes); in TEST_F()
184 size_t pss_bytes = 1; in TEST_F() local
186 GetNativeInfo(tmp_file_->fd, &pss_bytes, &va_bytes); in TEST_F()
187 ASSERT_EQ(45056U, pss_bytes); in TEST_F()
261 size_t pss_bytes = 1; in TEST_F() local
[all …]
/system/extras/memory_replay/
DNativeInfo.cpp33 void GetNativeInfo(int smaps_fd, size_t* pss_bytes, size_t* va_bytes) { in GetNativeInfo() argument
59 *pss_bytes = total_pss_bytes; in GetNativeInfo()
64 size_t pss_bytes; in PrintNativeInfo() local
72 GetNativeInfo(smaps_fd, &pss_bytes, &va_bytes); in PrintNativeInfo()
73 printf("%sNative PSS: %zu bytes %0.2fMB\n", preamble, pss_bytes, pss_bytes/(1024*1024.0)); in PrintNativeInfo()
DNativeInfo.h21 void GetNativeInfo(int smaps_fd, size_t* pss_bytes, size_t* va_bytes);