Home
last modified time | relevance | path

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

/system/core/storaged/include/
Dstoraged_uid_monitor.h45 class io_usage {
47 io_usage() : bytes{{{0}}} {}; in io_usage() function
50 io_usage& operator+= (const io_usage& stats) {
64 io_usage uid_ios;
66 map<string, io_usage> task_ios;
Dstoraged_utils.h36 map<string, io_usage> merge_io_usage(const vector<uid_record>& entries);
/system/core/storaged/
Dstoraged_uid_monitor.cpp107 bool io_usage::is_zero() const in is_zero()
282 const io_usage& uid_usage = rec.ios.uid_ios; in dump()
354 io_usage& task_usage = usage.task_ios[comm]; in update_curr_io_stats_locked()
385 void set_io_usage_proto(IOUsage* usage_proto, const io_usage& usage) in set_io_usage_proto()
397 void get_io_usage_proto(io_usage* usage, const IOUsage& io_proto) in get_io_usage_proto()
436 const io_usage& uio_ios = entry.ios.uid_ios; in update_uid_io_proto()
441 const io_usage& task_ios = task_io.second; in update_uid_io_proto()
Dstoraged_utils.cpp126 map<string, io_usage> merge_io_usage(const vector<uid_record>& entries) { in merge_io_usage()
127 map<string, io_usage> merged_entries; in merge_io_usage()
Dstoraged_service.cpp46 map<string, io_usage> merged_entries = merge_io_usage(entries); in dumpUidRecords()
64 const io_usage& uid_usage = record.ios.uid_ios; in dumpUidRecordsDebug()
78 const io_usage& task_usage = task_it.second; in dumpUidRecordsDebug()
/system/core/storaged/tests/
Dstoraged_test.cpp596 map<string, io_usage> merged_entries_0 = merge_io_usage(entries_0); in TEST()
604 map<string, io_usage> merged_entries_1 = merge_io_usage(entries_1); in TEST()
612 map<string, io_usage> merged_entries_2 = merge_io_usage(entries_2); in TEST()