Home
last modified time | relevance | path

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

/hardware/google/pixel/perfstatsd/include/
Dio_usage.h47 struct UserIo { struct
56 UserIo &operator=(const UserIo &other) { argument
67 UserIo operator-(const UserIo &other) const {
68 UserIo r; argument
79 UserIo operator+(const UserIo &other) const {
80 UserIo r; argument
135 std::unordered_map<uint32_t, UserIo> mPrevious;
136 UserIo mTotal;
137 UserIo mWriteTop[IO_TOP_MAX];
138 UserIo mReadTop[IO_TOP_MAX];
[all …]
/hardware/google/pixel/perfstatsd/
Dio_usage.cpp167 void IoStats::updateTopRead(UserIo usage) { in updateTopRead()
168 UserIo tmp; in updateTopRead()
179 void IoStats::updateTopWrite(UserIo usage) { in updateTopWrite()
180 UserIo tmp; in updateTopWrite()
237 std::unordered_map<uint32_t, UserIo> IoStats::calcIncrement( in calcIncrement()
238 const std::unordered_map<uint32_t, UserIo> &data) { in calcIncrement()
239 std::unordered_map<uint32_t, UserIo> diffs; in calcIncrement()
241 const UserIo &d = it.second; in calcIncrement()
259 void IoStats::calcAll(std::unordered_map<uint32_t, UserIo> &&data) { in calcAll()
276 std::unordered_map<uint32_t, UserIo> amounts = calcIncrement(data); in calcAll()
[all …]