> On July 1, 2015, 9:46 p.m., Timothy Chen wrote: > > src/tests/cgroups_tests.cpp, line 1192 > > <https://reviews.apache.org/r/36106/diff/1/?file=997648#file997648line1192> > > > > Add using to the top of the tests > > Jojy Varghese wrote: > Since this is an alias (typedef) and scoped for the function.
LoL - this is the same clash I had in my first review :) (not only that, but I think you're also going to have trouble: AFAIK alias are not allowed in the Mesos codebase - not sure why) Essentially, I objected to placing something used **only once** 1,190 (or so) lines above its point of usage - eventually lost that particular argument when the whole review was discarded... Good luck with getting this past our reviewers :) - Marco ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/36106/#review90139 ----------------------------------------------------------- On July 1, 2015, 9:38 p.m., Jojy Varghese wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/36106/ > ----------------------------------------------------------- > > (Updated July 1, 2015, 9:38 p.m.) > > > Review request for mesos, Ian Downes, Joris Van Remoortere, and Timothy Chen. > > > Repository: mesos > > > Description > ------- > > cgroups implementation does not have a cpuacct subsystem implementation as of > today. Adding the implementation for stat function. > > Changes: > - added Stats class to encapsulate cpuacct.stat data > - added implementation for cpuacct::stats > - added unit tests > > Jira: MESOS-2961 > > > Diffs > ----- > > src/linux/cgroups.hpp 73b98317880eea3d6a2ba37ac56d1f7e3600ba94 > src/linux/cgroups.cpp 4c006d0c7382b940a83359d636c0d48952cdbb00 > src/tests/cgroups_tests.cpp 475f48a474eea708f98d8c0300862351a2d4379a > > Diff: https://reviews.apache.org/r/36106/diff/ > > > Testing > ------- > > make check > > > Thanks, > > Jojy Varghese > >
