Home
last modified time | relevance | path

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

/frameworks/native/libs/cputimeinstate/
Dcputimeinstate.h35 struct concurrent_time_t { struct
40 std::optional<concurrent_time_t> getUidConcurrentTimes(uint32_t uid, bool retry = true); argument
41 std::optional<std::unordered_map<uint32_t, concurrent_time_t>> getUidsConcurrentTimes();
42 std::optional<std::unordered_map<uint32_t, concurrent_time_t>>
Dcputimeinstate.cpp409 static bool verifyConcurrentTimes(const concurrent_time_t &ct) { in verifyConcurrentTimes()
424 std::optional<concurrent_time_t> getUidConcurrentTimes(uint32_t uid, bool retry) { in getUidConcurrentTimes()
426 concurrent_time_t ret = {.active = std::vector<uint64_t>(gNCpus, 0)}; in getUidConcurrentTimes()
470 std::optional<std::unordered_map<uint32_t, concurrent_time_t>> getUidsConcurrentTimes() { in getUidsConcurrentTimes()
478 std::optional<std::unordered_map<uint32_t, concurrent_time_t>> getUidsUpdatedConcurrentTimes( in getUidsUpdatedConcurrentTimes()
482 std::unordered_map<uint32_t, concurrent_time_t> ret; in getUidsUpdatedConcurrentTimes()
488 concurrent_time_t retFormat = {.active = std::vector<uint64_t>(gNCpus, 0)}; in getUidsUpdatedConcurrentTimes()
Dtesttimeinstate.cpp83 static void TestConcurrentTimesConsistent(const struct concurrent_time_t &concurrentTime) { in TestConcurrentTimesConsistent()
112 const struct concurrent_time_t &concurrentTime) { in TestUidTimesConsistent()