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

Side by Side Diff: chrome/common/metrics/proto/histogram_event.proto

Issue 11359146: Revert "Linux: change protobuf default option to allow building" (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Histogram-collected metrics. 5 // Histogram-collected metrics.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 option optimize_for = LITE_RUNTIME;
10
9 package metrics; 11 package metrics;
10 12
11 // Next tag: 4 13 // Next tag: 4
12 message HistogramEventProto { 14 message HistogramEventProto {
13 // The name of the histogram, hashed. 15 // The name of the histogram, hashed.
14 optional fixed64 name_hash = 1; 16 optional fixed64 name_hash = 1;
15 17
16 // The sum of all the sample values. 18 // The sum of all the sample values.
17 // Together with the total count of the sample values, this allows us to 19 // Together with the total count of the sample values, this allows us to
18 // compute the average value. The count of all sample values is just the sum 20 // compute the average value. The count of all sample values is just the sum
(...skipping 16 matching lines...) Expand all
35 // which allows the processing code to "vote" on what the correct range 37 // which allows the processing code to "vote" on what the correct range
36 // should be for each bucket. This in turn allows us to better identify and 38 // should be for each bucket. This in turn allows us to better identify and
37 // discard corrupted reports. 39 // discard corrupted reports.
38 optional int32 bucket_index = 3; 40 optional int32 bucket_index = 3;
39 41
40 // The number of entries in this bucket. 42 // The number of entries in this bucket.
41 optional int64 count = 4; 43 optional int64 count = 4;
42 } 44 }
43 repeated Bucket bucket = 3; 45 repeated Bucket bucket = 3;
44 } 46 }
OLDNEW
« no previous file with comments | « chrome/common/metrics/proto/chrome_user_metrics_extension.proto ('k') | chrome/common/metrics/proto/omnibox_event.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698