Index: remoting/base/process_resource_usage.cc |
diff --git a/remoting/base/process_resource_usage.cc b/remoting/base/process_resource_usage.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f2eef97d05aeb435e757c94b5a28233aeeb5033b |
--- /dev/null |
+++ b/remoting/base/process_resource_usage.cc |
@@ -0,0 +1,15 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "remoting/base/process_resource_usage.h" |
+ |
+namespace remoting { |
+ |
+void ProcessResourceUsage::Append(const ProcessResourceUsage& other) { |
+ processor_usage += other.processor_usage; |
Sergey Ulanov
2017/03/27 19:43:19
I think it would be useful to collect info for eac
Hzj_jie
2017/03/30 01:09:45
Done.
|
+ working_set_size += other.working_set_size; |
+ pagefile_size += other.pagefile_size; |
+} |
+ |
+} // namespace remoting |