android_system_core/storaged
Jin Qian 65dea71248 storaged: clean up disk stats code
Merged disk_stats_publisher into disk_stats_monitor class.

Moved proc file check to disk_stats class instead of doing so in
storaged, same for uid_io.

Added is_zero function to check zero disk_stats.

Added operators to compute disk_stats.

Change-Id: I277ae51f6fe18464f92e45c03471343784e67093
2017-10-02 15:45:14 -07:00
..
include storaged: clean up disk stats code 2017-10-02 15:45:14 -07:00
tests storaged: clean up disk stats code 2017-10-02 15:45:14 -07:00
tools storaged: add parser for dumpsys storaged output 2017-08-09 15:25:19 -07:00
Android.bp storaged: clean up disk stats code 2017-10-02 15:45:14 -07:00
EventLogTags.logtags
README.properties storaged: read emmc health data from sysfs 2017-04-03 16:48:14 +00:00
main.cpp storaged: clean up disk stats code 2017-10-02 15:45:14 -07:00
storaged.cpp storaged: clean up disk stats code 2017-10-02 15:45:14 -07:00
storaged.proto storaged: store io_history as protobuf file on userdata 2017-08-15 17:00:19 -07:00
storaged.rc storaged: store io_history as protobuf file on userdata 2017-08-15 17:00:19 -07:00
storaged_diskstats.cpp storaged: clean up disk stats code 2017-10-02 15:45:14 -07:00
storaged_info.cpp storaged: clean up disk stats code 2017-10-02 15:45:14 -07:00
storaged_service.cpp storaged: add task io to dump service 2017-07-26 12:46:08 -07:00
storaged_uid_monitor.cpp storaged: clean up disk stats code 2017-10-02 15:45:14 -07:00
storaged_utils.cpp storaged: clean up disk stats code 2017-10-02 15:45:14 -07:00

README.properties

ro.storaged.event.interval    # interval storaged scans for IO stats, in seconds
ro.storaged.event.perf_check  # check for time spent in event loop, in microseconds
ro.storaged.disk_stats_pub    # interval storaged publish disk stats, in seconds
ro.storaged.uid_io.interval   # interval storaged checks Per UID IO usage, in seconds
ro.storaged.uid_io.threshold  # Per UID IO usage limit, in bytes