Searched refs:ParseProcStatCPU (Results 1 – 3 of 3) sorted by relevance
385 TEST(ProcessMetricsTest, ParseProcStatCPU) { in TEST() argument393 EXPECT_EQ(12 + 16, ParseProcStatCPU(kTopStat)); in TEST()402 EXPECT_EQ(0, ParseProcStatCPU(kSelfStat)); in TEST()413 EXPECT_EQ(5186 + 11, ParseProcStatCPU(kWeirdNameStat)); in TEST()
327 BASE_EXPORT int ParseProcStatCPU(const std::string& input);
153 int cpu = ParseProcStatCPU(stat); in GetProcessCPU()440 int ParseProcStatCPU(const std::string& input) { in ParseProcStatCPU() function