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

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

Issue 17770005: Include CPU information in UMA system profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use ID 13 Created 7 years, 5 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
« no previous file with comments | « chrome/browser/metrics/metrics_log_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Stores information about the user's brower and system configuration. 5 // Stores information about the user's brower and system configuration.
6 // The system configuration fields are recorded once per client session. 6 // The system configuration fields are recorded once per client session.
7 7
8 syntax = "proto2"; 8 syntax = "proto2";
9 9
10 option optimize_for = LITE_RUNTIME; 10 option optimize_for = LITE_RUNTIME;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 optional string name = 1; 71 optional string name = 1;
72 72
73 // The version of the OS. The meaning of this field is OS-dependent. 73 // The version of the OS. The meaning of this field is OS-dependent.
74 optional string version = 2; 74 optional string version = 2;
75 75
76 // The fingerprint of the build. This field is used only on Android. 76 // The fingerprint of the build. This field is used only on Android.
77 optional string fingerprint = 3; 77 optional string fingerprint = 3;
78 } 78 }
79 optional OS os = 5; 79 optional OS os = 5;
80 80
81 // Next tag for Hardware: 13 81 // Next tag for Hardware: 14
82 // Information on the user's hardware. 82 // Information on the user's hardware.
83 message Hardware { 83 message Hardware {
84 // The CPU architecture (x86, PowerPC, x86_64, ...) 84 // The CPU architecture (x86, PowerPC, x86_64, ...)
85 optional string cpu_architecture = 1; 85 optional string cpu_architecture = 1;
86 86
87 // The amount of RAM present on the system, in megabytes. 87 // The amount of RAM present on the system, in megabytes.
88 optional int64 system_ram_mb = 2; 88 optional int64 system_ram_mb = 2;
89 89
90 // The base memory address that chrome.dll was loaded at. 90 // The base memory address that chrome.dll was loaded at.
91 // (Logged only on Windows.) 91 // (Logged only on Windows.)
(...skipping 17 matching lines...) Expand all
109 optional int32 primary_screen_width = 6; 109 optional int32 primary_screen_width = 6;
110 optional int32 primary_screen_height = 7; 110 optional int32 primary_screen_height = 7;
111 111
112 // The device scale factor of the primary screen. 112 // The device scale factor of the primary screen.
113 optional float primary_screen_scale_factor = 12; 113 optional float primary_screen_scale_factor = 12;
114 114
115 // Max DPI for any attached screen. (Windows only) 115 // Max DPI for any attached screen. (Windows only)
116 optional float max_dpi_x = 9; 116 optional float max_dpi_x = 9;
117 optional float max_dpi_y = 10; 117 optional float max_dpi_y = 10;
118 118
119 // Information on the CPU obtained by CPUID.
120 message CPU {
121 // A 12 character string naming the vendor, e.g. "GeniuneIntel".
jar (doing other things) 2013/06/26 19:29:34 Have you gotten this approved for upload in UMA?
James Simonsen 2013/07/09 23:53:26 Yes, it's been approved by the privacy team. It's
jar (doing other things) 2013/07/17 00:43:50 OK... if you've gotten approval, SGTM ;-).
122 optional string vendor_name = 1;
123
124 // Identifies the version within the model.
125 optional uint32 stepping = 2;
126
127 // Identifies the model within the family.
128 optional uint32 model = 3;
129
130 // Identifies processors with similar characteristics.
131 optional uint32 family = 4;
132
133 // Identifies the processor type.
134 optional uint32 type = 5;
135
136 // Additional model bits beyond the basic model. They've overflowed the
137 // original field.
138 optional uint32 extended_model = 6;
139
140 // Additional family bits beyond the basic family. They've overflowed the
141 // original field.
142 optional uint32 extended_family = 7;
143 }
144 optional CPU cpu = 13;
145
119 // Information on the GPU 146 // Information on the GPU
120 message Graphics { 147 message Graphics {
121 // The GPU manufacturer's vendor id. 148 // The GPU manufacturer's vendor id.
122 optional uint32 vendor_id = 1; 149 optional uint32 vendor_id = 1;
123 150
124 // The GPU manufacturer's device id for the chip set. 151 // The GPU manufacturer's device id for the chip set.
125 optional uint32 device_id = 2; 152 optional uint32 device_id = 2;
126 153
127 // The driver version on the GPU. 154 // The driver version on the GPU.
128 optional string driver_version = 3; 155 optional string driver_version = 3;
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 // The name of the field trial, as a 32-bit identifier. 440 // The name of the field trial, as a 32-bit identifier.
414 // Currently, the identifier is a hash of the field trial's name. 441 // Currently, the identifier is a hash of the field trial's name.
415 optional fixed32 name_id = 1; 442 optional fixed32 name_id = 1;
416 443
417 // The user's group within the field trial, as a 32-bit identifier. 444 // The user's group within the field trial, as a 32-bit identifier.
418 // Currently, the identifier is a hash of the group's name. 445 // Currently, the identifier is a hash of the group's name.
419 optional fixed32 group_id = 2; 446 optional fixed32 group_id = 2;
420 } 447 }
421 repeated FieldTrial field_trial = 9; 448 repeated FieldTrial field_trial = 9;
422 } 449 }
OLDNEW
« no previous file with comments | « chrome/browser/metrics/metrics_log_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698