mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bmah...@apache.org
Subject [1/7] mesos git commit: Removed 'using namespace process' in perf event isolator.
Date Tue, 15 Sep 2015 00:26:48 GMT
Repository: mesos
Updated Branches:
  refs/heads/master 1c10fdbfa -> ddaa556dd


Removed 'using namespace process' in perf event isolator.

Review: https://reviews.apache.org/r/38377


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3949de25
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/3949de25
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/3949de25

Branch: refs/heads/master
Commit: 3949de25248d0c0f737b55f9477c9b470f2ff748
Parents: 3ff3f08
Author: Benjamin Mahler <benjamin.mahler@gmail.com>
Authored: Mon Sep 14 12:51:57 2015 -0700
Committer: Benjamin Mahler <benjamin.mahler@gmail.com>
Committed: Mon Sep 14 16:56:19 2015 -0700

----------------------------------------------------------------------
 .../containerizer/isolators/cgroups/perf_event.cpp    | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/3949de25/src/slave/containerizer/isolators/cgroups/perf_event.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/isolators/cgroups/perf_event.cpp b/src/slave/containerizer/isolators/cgroups/perf_event.cpp
index 7dc8b7a..a362182 100644
--- a/src/slave/containerizer/isolators/cgroups/perf_event.cpp
+++ b/src/slave/containerizer/isolators/cgroups/perf_event.cpp
@@ -46,17 +46,21 @@
 
 #include "slave/containerizer/isolators/cgroups/perf_event.hpp"
 
-using namespace process;
+using mesos::slave::ContainerLimitation;
+using mesos::slave::ContainerPrepareInfo;
+using mesos::slave::ContainerState;
+using mesos::slave::Isolator;
 
 using std::list;
 using std::set;
 using std::string;
 using std::vector;
 
-using mesos::slave::ContainerLimitation;
-using mesos::slave::ContainerPrepareInfo;
-using mesos::slave::ContainerState;
-using mesos::slave::Isolator;
+using process::Clock;
+using process::Failure;
+using process::Future;
+using process::PID;
+using process::Time;
 
 namespace mesos {
 namespace internal {


Mime
View raw message