summaryrefslogtreecommitdiffstats
path: root/components/metrics
diff options
context:
space:
mode:
authordbeam <dbeam@chromium.org>2015-03-17 19:23:35 -0700
committerCommit bot <commit-bot@chromium.org>2015-03-18 02:24:11 +0000
commit64c37847c51804dc237875e691c8ff95b6d25edd (patch)
tree2f59cd900999a3f3197e6e41650e472c95a5b5c9 /components/metrics
parent98f9a6bdb1110654e8c6eecc74aa437b8a6b89c1 (diff)
downloadchromium_src-64c37847c51804dc237875e691c8ff95b6d25edd.zip
chromium_src-64c37847c51804dc237875e691c8ff95b6d25edd.tar.gz
chromium_src-64c37847c51804dc237875e691c8ff95b6d25edd.tar.bz2
metrics/base: log whether drives have seek penalties.
Only on Win 7+ for now. R=rvargas@chromium.org,mpearson@chromium.org BUG=463209 Review URL: https://codereview.chromium.org/999623002 Cr-Commit-Position: refs/heads/master@{#321056}
Diffstat (limited to 'components/metrics')
-rw-r--r--components/metrics/proto/system_profile.proto14
1 files changed, 13 insertions, 1 deletions
diff --git a/components/metrics/proto/system_profile.proto b/components/metrics/proto/system_profile.proto
index 4b64675..a9bdc1d 100644
--- a/components/metrics/proto/system_profile.proto
+++ b/components/metrics/proto/system_profile.proto
@@ -92,7 +92,7 @@ message SystemProfileProto {
}
optional OS os = 5;
- // Next tag for Hardware: 16
+ // Next tag for Hardware: 18
// Information on the user's hardware.
message Hardware {
// The CPU architecture (x86, PowerPC, x86_64, ...)
@@ -254,6 +254,18 @@ message SystemProfileProto {
// Lists vendor and product ids of external touchscreens.
// Logged on ChromeOS only.
repeated TouchScreen external_touchscreen = 15;
+
+ // Drive messages are logged on Windows 7+ only for now.
+ message Drive {
+ // Whether this drive incurs a time penalty when randomly accessed. This
+ // should be true for spinning disks but false for SSDs or other
+ // flash-based drives.
+ optional bool has_seek_penalty = 1;
+ }
+ // The drive that the application executable was loaded from.
+ optional Drive app_drive = 16;
+ // The drive that the current user data directory was loaded from.
+ optional Drive user_data_drive = 17;
}
optional Hardware hardware = 6;