Home
last modified time | relevance | path

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

/system/core/llkd/
Dlibllkd.cpp785 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()
[all …]