forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprocess_stats.proto
35 lines (26 loc) · 974 Bytes
/
process_stats.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// 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.
// Protocol for process resource usage.
syntax = "proto2";
option optimize_for = LITE_RUNTIME;
package remoting.protocol;
// The resource usage of a single process.
// Next Id: 5
message ProcessResourceUsage {
// The name or friendly name of the process.
optional string process_name = 1;
// The processor usage. It should be a consistent value on all platforms in
// range of 0 to (100 * NumCPUCores).
optional double processor_usage = 2;
// Memory usage of working set.
optional uint64 working_set_size = 3;
// Memory usage of page file.
optional uint64 pagefile_size = 4;
}
// The resource usage of several processes.
// Next Id: 2
message AggregatedProcessResourceUsage {
// The process resource usage of each individual process.
repeated ProcessResourceUsage usages = 1;
}