Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(410)

Side by Side Diff: remoting/base/process_resource_usage.cc

Issue 2775983003: [Chromoting] Retrieve process resource usage (ProcessStats) and its tests (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "remoting/base/process_resource_usage.h"
6
7 namespace remoting {
8
9 void ProcessResourceUsage::Append(const ProcessResourceUsage& other) {
10 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.
11 working_set_size += other.working_set_size;
12 pagefile_size += other.pagefile_size;
13 }
14
15 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698