Home
last modified time | relevance | path

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

/developtools/hiperf/test/unittest/common/native/
Dcpu_usage_test.cpp23 class CpuUsageTest : public testing::Test { class
45 void CpuUsageTest::SetUpTestCase() {} in SetUpTestCase()
47 void CpuUsageTest::TearDownTestCase() {} in TearDownTestCase()
49 void CpuUsageTest::SetUp() {} in SetUp()
51 void CpuUsageTest::TearDown() {} in TearDown()
53 pid_t CpuUsageTest::GetPidByProcessName(std::string procName) in GetPidByProcessName()
70 int CpuUsageTest::GetVmRSSLine(pid_t pid) in GetVmRSSLine()
90 const char* CpuUsageTest::GetItems(const char* buffer, unsigned int item) in GetItems()
109 unsigned long CpuUsageTest::GetCpuTotalUsage() in GetCpuTotalUsage()
137 unsigned long CpuUsageTest::GetCpuProcUsage(int pid) in GetCpuProcUsage()
[all …]