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

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

Issue 11228038: Linux: change protobuf default option to allow building (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | Annotate | Revision Log
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
11 package metrics; 9 package metrics;
12 10
13 // Next tag: 4 11 // Next tag: 4
14 message HistogramEventProto { 12 message HistogramEventProto {
15 // The name of the histogram, hashed. 13 // The name of the histogram, hashed.
16 optional fixed64 name_hash = 1; 14 optional fixed64 name_hash = 1;
17 15
18 // The sum of all the sample values. 16 // The sum of all the sample values.
19 // Together with the total count of the sample values, this allows us to 17 // Together with the total count of the sample values, this allows us to
20 // compute the average value. The count of all sample values is just the sum 18 // compute the average value. The count of all sample values is just the sum
(...skipping 16 matching lines...) Expand all
37 // which allows the processing code to "vote" on what the correct range 35 // which allows the processing code to "vote" on what the correct range
38 // should be for each bucket. This in turn allows us to better identify and 36 // should be for each bucket. This in turn allows us to better identify and
39 // discard corrupted reports. 37 // discard corrupted reports.
40 optional int32 bucket_index = 3; 38 optional int32 bucket_index = 3;
41 39
42 // The number of entries in this bucket. 40 // The number of entries in this bucket.
43 optional int64 count = 4; 41 optional int64 count = 4;
44 } 42 }
45 repeated Bucket bucket = 3; 43 repeated Bucket bucket = 3;
46 } 44 }
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