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

(Updated July 2, 2013, 2:46 a.m.)


Review request for mesos, Benjamin Hindman and Vinod Kone.


Changes
-------

Refactored the memory / cpu information to be wrapped in a Try.


Summary (updated)
-----------------

Refactored os::Process to use Try's for memory and CPU information.


Repository: mesos


Description
-------

This was reported by Brenden Matthews on the mailing list. It appears that on 
some Linux systems the utime / stime values coming from /proc are corrupt.


Diffs (updated)
-----

  3rdparty/libprocess/3rdparty/stout/include/stout/os/linux.hpp 
ef6c6c8f7839baaddcfd20249f2dbd25a7c3d25a 
  3rdparty/libprocess/3rdparty/stout/include/stout/os/osx.hpp 
3f4e9d4c64bf5a9027aa26aab24c6f02d76b8bfc 
  3rdparty/libprocess/3rdparty/stout/include/stout/os/process.hpp 
806949bb29ad15e97851697dcdeeb17396ebe459 
  3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp 
c5ad25bd03c573119494fb41e2cf075ecb67b3d8 

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


Testing
-------

make check

Also ran the isolator tests with 100 iterations.


Thanks,

Ben Mahler

Reply via email to