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.cpp172 void IoStats::updateTopRead(UserIo usage) { in updateTopRead()
173 UserIo tmp; in updateTopRead()
184 void IoStats::updateTopWrite(UserIo usage) { in updateTopWrite()
185 UserIo tmp; in updateTopWrite()
242 std::unordered_map<uint32_t, UserIo> IoStats::calcIncrement( in calcIncrement()
243 const std::unordered_map<uint32_t, UserIo> &data) { in calcIncrement()
244 std::unordered_map<uint32_t, UserIo> diffs; in calcIncrement()
246 const UserIo &d = it.second; in calcIncrement()
264 void IoStats::calcAll(std::unordered_map<uint32_t, UserIo> &&data) { in calcAll()
281 std::unordered_map<uint32_t, UserIo> amounts = calcIncrement(data); in calcAll()
[all …]