-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9092/
-----------------------------------------------------------

(Updated Feb. 22, 2013, 12:31 a.m.)


Review request for mesos, Benjamin Hindman and Vinod Kone.


Changes
-------

Benh review.
Rebased off trunk.


Description
-------

This add metering into the statistics model. The metering was inspired by jie's 
monitoring reviews.

We'll need to compute metered data on top incoming raw data. The challenge is 
that some meters will require previous data:
For example:
1. cpu_time = 10 @ time 10;
2. cpu_time = 20 @ time 20; --> cpu_usage = 1.0 (100%) this is 20-10 / 20-10
3. cpu_time = 25 @ time 30; --> cpu_usage = 0.5 (50%) this is 25-20 / 30-20


This addresses bug MESOS-324.
    https://issues.apache.org/jira/browse/MESOS-324


Diffs (updated)
-----

  third_party/libprocess/Makefile.am 468df4e1426b725cf1252300134bc13658eae090 
  third_party/libprocess/include/process/statistics.hpp 
faefad2e374e08e4e0f88750c4c4eee74bce62d7 
  third_party/libprocess/include/stout/owned.hpp PRE-CREATION 
  third_party/libprocess/src/statistics.cpp 
29d08f05c6ab7b69d587a44aab860b4dfe645b89 
  third_party/libprocess/src/tests/statistics_tests.cpp 
0aaab3526618171c7cfbd11d40d614344bcbfd0a 

Diff: https://reviews.apache.org/r/9092/diff/


Testing
-------

make check


Thanks,

Ben Mahler

Reply via email to