----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/5715/ -----------------------------------------------------------
Review request for mesos and Benjamin Hindman. Description ------- Add a module in slave to collet resource usage information. The isolation module should implement the interface class ResourceUsageCollector so that ResourceUsageMonitor can pull information from it. Each instance of ResourceStatistics is a snapshot about the resource usage of an entity (either an executor, or an process). Each instance of ResourceUsage contains a collection of ResourceStatistics instances (history) so that some high level usage information can be derived (e.g. cpu usage). ResourceUsageMeter is an abstract class that defines the measurement of resource usage. Each subclass of ResourceUsageMeter defines a specific measurement of resource usage (e.g. maxRSS, avgCpuUsage, etc.) Diffs ----- src/Makefile.am 8760f59 src/slave/statistics.hpp PRE-CREATION src/slave/statistics.cpp PRE-CREATION src/tests/statistics_tests.cpp PRE-CREATION Diff: https://reviews.apache.org/r/5715/diff/ Testing ------- Make check. Tested on Linux. Mac implementation pending. Thanks, Jie Yu
