mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Downes" <ian.dow...@gmail.com>
Subject Re: Review Request 16569: Added freeMemory() to stout.
Date Thu, 02 Jan 2014 19:44:37 GMT


> On Jan. 2, 2014, 6:51 p.m., Vinod Kone wrote:
> > 3rdparty/libprocess/3rdparty/stout/include/stout/os.hpp, line 901
> > <https://reviews.apache.org/r/16569/diff/2/?file=413414#file413414line901>
> >
> >     can this constant be pulled from a well known header file?

There's a POSIX variable PAGESIZE available through sysconf.


- Ian


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


On Jan. 2, 2014, 12:38 p.m., Niklas Nielsen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/16569/
> -----------------------------------------------------------
> 
> (Updated Jan. 2, 2014, 12:38 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Ben Mahler, and Vinod Kone.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> freeMemory() returns amount of free system memory. Can in
> combination with memory() be used to get total used memory. 
> This allows future finer grained break-downs of used memory
> in user memory, kernel buffers/caches and so on.
> 
> 
> Diffs
> -----
> 
>   3rdparty/libprocess/3rdparty/stout/include/stout/os.hpp 7c1f6ec 
> 
> Diff: https://reviews.apache.org/r/16569/diff/
> 
> 
> Testing
> -------
> 
> make check and functional testing.
> 
> 
> Thanks,
> 
> Niklas Nielsen
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message