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

Side by Side Diff: remoting/proto/process_stats.proto

Issue 2964613002: [Chromoting] Deprecate AggregatedProcessResourceUsage.* (Closed)
Patch Set: Use latest ipc_message_protobuf_utils to serialize and deserialize AggregatedProcessResourceUsage Created 3 years, 5 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
« no previous file with comments | « remoting/host/process_stats_util.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Protocol for process resource usage. 5 // Protocol for process resource usage.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 option optimize_for = LITE_RUNTIME; 9 option optimize_for = LITE_RUNTIME;
10 10
(...skipping 10 matching lines...) Expand all
21 optional double processor_usage = 2; 21 optional double processor_usage = 2;
22 22
23 // Memory usage of working set. 23 // Memory usage of working set.
24 optional uint64 working_set_size = 3; 24 optional uint64 working_set_size = 3;
25 25
26 // Memory usage of page file. 26 // Memory usage of page file.
27 optional uint64 pagefile_size = 4; 27 optional uint64 pagefile_size = 4;
28 } 28 }
29 29
30 // The resource usage of several processes. 30 // The resource usage of several processes.
31 // Next Id: 6 31 // Next Id: 2
32 message AggregatedProcessResourceUsage { 32 message AggregatedProcessResourceUsage {
33 // A friendly name of the processes current instance aggregated from.
34 optional string name = 1;
35
36 // The total processor usage.
37 optional double processor_usage = 2;
38
39 // The total memory usage of working set.
40 optional uint64 working_set_size = 3;
41
42 // The total memory usage of page file.
43 optional uint64 pagefile_size = 4;
44
45 // The process resource usage of each individual process. 33 // The process resource usage of each individual process.
46 repeated ProcessResourceUsage usages = 5; 34 repeated ProcessResourceUsage usages = 1;
47 } 35 }
OLDNEW
« no previous file with comments | « remoting/host/process_stats_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698