Searched refs:schedString (Results 1 – 1 of 1) sorted by relevance
777 long long getSchedValue(const std::string& schedString, const char* key) { in getSchedValue() argument778 auto pos = schedString.find(key); in getSchedValue()782 pos = schedString.find(':', pos); in getSchedValue()786 while ((++pos < schedString.size()) && ::isblank(schedString[pos])) { in getSchedValue()790 if (!android::base::ParseInt(schedString.substr(pos), &ret, static_cast<long long>(0))) { in getSchedValue()851 std::string schedString = ReadFile(piddir + "/sched"); in llkCheckSchedUpdate() local852 if (schedString.empty()) { in llkCheckSchedUpdate()856 schedString = ReadFile(piddir + "/schedstat"); in llkCheckSchedUpdate()857 if (schedString.empty()) { in llkCheckSchedUpdate()861 if (((::sscanf(schedString.c_str(), "%*d %*d %llu", &val)) == 1) && in llkCheckSchedUpdate()[all …]