Home
last modified time | relevance | path

Searched refs:counts (Results 1 – 7 of 7) sorted by relevance

/base/hiviewdfx/hiview/plugins/sysevent_source/
Dplatform_monitor.cpp277 …id PlatformMonitor::GetTopDomains(std::vector<std::string> &domains, std::vector<uint32_t> &counts) in GetTopDomains() argument
284 counts.emplace_back(it->second); in GetTopDomains()
290 counts.emplace_back(it->second); in GetTopDomains()
292 std::sort(counts.begin(), counts.end(), std::greater<int>()); in GetTopDomains()
293 counts.resize(topN); in GetTopDomains()
298 if (std::find(counts.begin(), counts.end(), it->second) != counts.end()) { in GetTopDomains()
305 void PlatformMonitor::GetTopEvents(std::vector<std::string> &events, std::vector<uint32_t> &counts) in GetTopEvents() argument
312 counts.emplace_back(it->second); in GetTopEvents()
318 counts.emplace_back(it->second); in GetTopEvents()
320 std::sort(counts.begin(), counts.end(), std::greater<int>()); in GetTopEvents()
[all …]
/base/hiviewdfx/hiview/plugins/sysevent_source/include/
Dplatform_monitor.h76 void GetTopDomains(std::vector<std::string> &domains, std::vector<uint32_t> &counts);
77 void GetTopEvents(std::vector<std::string> &events, std::vector<uint32_t> &counts);
/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/parse/
Dmeminfo_data.h54 uint64_t counts; member
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
Dsmaps_memory_info.cpp214 … MemoryUtil::GetInstance().SetMemTotalValue(to_string(memSmapsInfo.counts), lines, values, true); in CalcSmapsGroup()
292 meminfo.counts += value; in SetCounts()
Dmemory_util.cpp151 memInfo.counts = 0; in InitMemSmapsInfo()
/base/startup/init/services/sandbox/
Dsandbox.c291 int counts = cJSON_GetArraySize(obj); in GetSandboxInfo() local
292 BEGET_ERROR_CHECK(counts > 0, return 0, "Item %s array size is zero.", itemName); in GetSandboxInfo()
304 for (int i = 0; i < counts; i++) { in GetSandboxInfo()
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
Dos_account_manager_module_test.cpp1665 int counts = constraints.size(); variable
1675 EXPECT_NE(constraints.size(), counts + 2); // test number