OLD | NEW |
---|---|
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 13 matching lines...) Expand all Loading... | |
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: 6 |
32 message AggregatedProcessResourceUsage { | 32 message AggregatedProcessResourceUsage { |
33 // A friendly name of the processes current instance aggregated from. | 33 // A friendly name of the processes current instance aggregated from. |
34 optional string name = 1; | 34 optional string name = 1 [deprecated=true]; |
joedow
2017/06/30 15:13:43
Instead of marking these as deprecated, I think yo
Hzj_jie
2017/06/30 22:39:29
Done.
| |
35 | 35 |
36 // The total processor usage. | 36 // The total processor usage. |
37 optional double processor_usage = 2; | 37 optional double processor_usage = 2 [deprecated=true]; |
38 | 38 |
39 // The total memory usage of working set. | 39 // The total memory usage of working set. |
40 optional uint64 working_set_size = 3; | 40 optional uint64 working_set_size = 3 [deprecated=true]; |
41 | 41 |
42 // The total memory usage of page file. | 42 // The total memory usage of page file. |
43 optional uint64 pagefile_size = 4; | 43 optional uint64 pagefile_size = 4 [deprecated=true]; |
44 | 44 |
45 // The process resource usage of each individual process. | 45 // The process resource usage of each individual process. |
46 repeated ProcessResourceUsage usages = 5; | 46 repeated ProcessResourceUsage usages = 5; |
47 } | 47 } |
OLD | NEW |