Searched refs:smapsHeadInfo (Results 1 – 3 of 3) sorted by relevance
| /developtools/profiler/device/plugins/memory_plugin/test/unittest/ |
| D | smaps_stats_unittest.cpp | 57 SmapsHeadInfo smapsHeadInfo = {}; variable 58 ASSERT_FALSE(plugin.ParseMapHead(line, targetMappic, smapsHeadInfo)); 63 EXPECT_STREQ(expectSmapsHeadInfo.startAddrStr.c_str(), smapsHeadInfo.startAddrStr.c_str()); 64 EXPECT_STREQ(expectSmapsHeadInfo.startAddrStr.c_str(), smapsHeadInfo.startAddrStr.c_str()); 65 EXPECT_STREQ(expectSmapsHeadInfo.permission.c_str(), smapsHeadInfo.permission.c_str()); 66 EXPECT_STREQ(expectSmapsHeadInfo.path.c_str(), smapsHeadInfo.path.c_str()); 67 EXPECT_EQ(expectSmapsHeadInfo.iNode, smapsHeadInfo.iNode); 82 SmapsHeadInfo smapsHeadInfo = {}; variable 83 ASSERT_FALSE(plugin.ParseMapHead(line, targetMappic, smapsHeadInfo)); 88 EXPECT_STREQ(expectSmapsHeadInfo.startAddrStr.c_str(), smapsHeadInfo.startAddrStr.c_str()); [all …]
|
| /developtools/profiler/device/plugins/memory_plugin/src/ |
| D | smaps_stats.cpp | 37 std::string SmapsStats::ParseCategory(const SmapsHeadInfo& smapsHeadInfo) in ParseCategory() argument 40 if (GetCategoryFromMap(smapsHeadInfo.path, category, endMap_, &MatchTail) || in ParseCategory() 41 GetCategoryFromMap(smapsHeadInfo.path, category, beginMap_, &MatchHead)) { in ParseCategory() 44 category = smapsHeadInfo.iNode > 0 ? FILE_PAGE_TAG : ANON_PAGE_TAG; in ParseCategory() 80 SmapsHeadInfo smapsHeadInfo = {}; in ReadVmemareasFile() local 94 ParseMapHead(line, mappic, smapsHeadInfo); in ReadVmemareasFile() 98 smapsInfo->set_start_addr(smapsHeadInfo.startAddrStr); in ReadVmemareasFile() 99 smapsInfo->set_end_addr(smapsHeadInfo.endAddrStr); in ReadVmemareasFile() 100 smapsInfo->set_permission(smapsHeadInfo.permission); in ReadVmemareasFile() 101 smapsInfo->set_path(smapsHeadInfo.path); in ReadVmemareasFile() [all …]
|
| /developtools/profiler/device/plugins/memory_plugin/include/ |
| D | smaps_stats.h | 296 bool ParseMapHead(std::string& line, MapPiecesInfo& head, SmapsHeadInfo& smapsHeadInfo); 313 std::string ParseCategory(const SmapsHeadInfo& smapsHeadInfo);
|