Commit cdcedf03 authored by Alexei Filippov's avatar Alexei Filippov Committed by Commit Bot

Sync metrics_proto.

Change-Id: Ie940ec04243b1a4382cd557c8d9b462d6a2fab0a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1628250Reviewed-by: default avatarIlya Sherman <isherman@chromium.org>
Commit-Queue: Alexei Filippov <alph@chromium.org>
Cr-Commit-Position: refs/heads/master@{#663008}
parent b40d0be2
Name: Metrics Protos Name: Metrics Protos
Short Name: metrics_proto Short Name: metrics_proto
URL: This is the canonical public repository URL: This is the canonical public repository
Version: 249161107 Version: 249743511
Date: 2019/05/21 UTC Date: 2019/05/24 UTC
License: BSD License: BSD
Security Critical: Yes Security Critical: Yes
......
...@@ -113,9 +113,17 @@ message CallStackProfile { ...@@ -113,9 +113,17 @@ message CallStackProfile {
// Weight of the sample. When omitted the sample is presumed to have // Weight of the sample. When omitted the sample is presumed to have
// a weight of 1. // a weight of 1.
// Not currently used for CPU profiles. // Not currently used for CPU profiles.
// For heap profiles it represents the number of bytes attributed to the // For heap profiles it represents the total number of bytes associated with
// sample. // the StackSample record.
optional int64 weight = 6; optional int64 weight = 6;
// Number of events associated with the sample. When omitted the default
// value of 1 should be used.
// Not currently used for CPU profiles.
// For heap profiles it represents the number of allocations associated with
// the StackSample record. The following relation holds:
// allocation_size * count == weight.
optional int64 count = 7 [default = 1];
} }
// The previous sample encoding. Deprecated 2018/08/04 in favor of // The previous sample encoding. Deprecated 2018/08/04 in favor of
......
...@@ -9,8 +9,7 @@ option optimize_for = LITE_RUNTIME; ...@@ -9,8 +9,7 @@ option optimize_for = LITE_RUNTIME;
option java_outer_classname = "CastLogsProtos"; option java_outer_classname = "CastLogsProtos";
option java_package = "org.chromium.components.metrics"; option java_package = "org.chromium.components.metrics";
package metrics; // Cast-enabled device specific log data included in package metrics; // Cast-enabled device specific log data included in ChromeUserMetricsExtension.
// ChromeUserMetricsExtension.
// Next tag: 7 // Next tag: 7
message CastLogsProto { message CastLogsProto {
......
...@@ -8,8 +8,6 @@ option optimize_for = LITE_RUNTIME; ...@@ -8,8 +8,6 @@ option optimize_for = LITE_RUNTIME;
package metrics; package metrics;
import "system_profile.proto";
// Provides information about the launch of an item (such as an app or a file) // Provides information about the launch of an item (such as an app or a file)
// from the ChromeOS launcher. One event is recorded for every launch // from the ChromeOS launcher. One event is recorded for every launch
// originating from any launcher UI component, and this is the only circumstance // originating from any launcher UI component, and this is the only circumstance
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment