Lines Matching refs:schedString
785 long long getSchedValue(const std::string& schedString, const char* key) { in getSchedValue() argument
786 auto pos = schedString.find(key); in getSchedValue()
790 pos = schedString.find(':', pos); in getSchedValue()
794 while ((++pos < schedString.size()) && ::isblank(schedString[pos])) { in getSchedValue()
798 if (!android::base::ParseInt(schedString.substr(pos), &ret, static_cast<long long>(0))) { in getSchedValue()
859 std::string schedString = ReadFile(piddir + "/sched"); in llkCheckSchedUpdate() local
860 if (schedString.empty()) { in llkCheckSchedUpdate()
864 schedString = ReadFile(piddir + "/schedstat"); in llkCheckSchedUpdate()
865 if (schedString.empty()) { in llkCheckSchedUpdate()
869 if (((::sscanf(schedString.c_str(), "%*d %*d %llu", &val)) == 1) && in llkCheckSchedUpdate()
879 auto val = getSchedValue(schedString, "\nse.avg.lastUpdateTime"); in llkCheckSchedUpdate()
881 val = getSchedValue(schedString, "\nse.svg.last_update_time"); in llkCheckSchedUpdate()
892 val = getSchedValue(schedString, "\nnr_switches"); in llkCheckSchedUpdate()