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

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

Issue 2775983003: [Chromoting] Retrieve process resource usage (ProcessStats) and its tests (Closed)
Patch Set: thread_checker_ should be correctly constructed Created 3 years, 7 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/proto/BUILD.gn ('k') | remoting/protocol/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Protocol for process resource usage.
6
7 syntax = "proto2";
8
9 option optimize_for = LITE_RUNTIME;
10
11 package remoting.protocol;
12
13 // The resource usage of a single process.
14 // Next Id: 5
15 message ProcessResourceUsage {
16 // The name or friendly name of the process.
17 optional string process_name = 1;
18
19 // The processor usage. It should be a consistent value on all platforms in
20 // range of 0 to (100 * NumCPUCores).
21 optional double processor_usage = 2;
22
23 // Memory usage of working set.
24 optional uint64 working_set_size = 3;
25
26 // Memory usage of page file.
27 optional uint64 pagefile_size = 4;
28 }
29
30 // The resource usage of several processes.
31 // Next Id: 6
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.
46 repeated ProcessResourceUsage usages = 5;
47 }
OLDNEW
« no previous file with comments | « remoting/proto/BUILD.gn ('k') | remoting/protocol/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698