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

Side by Side Diff: tools/metrics/rappor/rappor.xml

Issue 1374283003: Reporting top cpu and memory consumers via rappor on chromeos (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: browser/gpu stats by UMA histograms, buckets for cpu cores. Created 5 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 <!-- 1 <!--
2 Copyright 2015 The Chromium Authors. All rights reserved. 2 Copyright 2015 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. 4 found in the LICENSE file.
5 --> 5 -->
6 6
7 <rappor-configuration> 7 <rappor-configuration>
8 <!-- 8 <!--
9 This file is used to generate a comprehensive list of Chrome rappor metrics 9 This file is used to generate a comprehensive list of Chrome rappor metrics
10 along with a detailed description for each histogram. See the design doc at 10 along with a detailed description for each histogram. See the design doc at
(...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 </summary> 842 </summary>
843 </rappor-metric> 843 </rappor-metric>
844 844
845 <rappor-metric name="PushMessaging.MessageReceived.Origin" type="ETLD_PLUS_ONE"> 845 <rappor-metric name="PushMessaging.MessageReceived.Origin" type="ETLD_PLUS_ONE">
846 <owner>miguelg@chromium.org</owner> 846 <owner>miguelg@chromium.org</owner>
847 <summary> 847 <summary>
848 Push Messages received per Origin. 848 Push Messages received per Origin.
849 </summary> 849 </summary>
850 </rappor-metric> 850 </rappor-metric>
851 851
852 <rappor-metric name="ResourceReporter.Cpu" type="UMA_RAPPOR_TYPE">
853 <owner>afakhry@chromium.org</owner>
854 <summary>
855 A Chrome task, its process priority, and its CPU usage range.
856 </summary>
857 <string-field name="task">
858 <summary>
859 The rappor identifier of a Chrome task. In most cases this is the hostname
ncarter (slow) 2015/11/10 23:29:57 hostname? or origin?
afakhry 2015/11/12 00:21:28 Origin as you suggested is better.
860 of the task's URL.
861 </summary>
862 </string-field>
863 <flags-field name="priority">
864 <flag>Bit 0: FOREGROUND</flag>
865 <flag>Bit 1: BACKGROUND</flag>
ncarter (slow) 2015/11/10 23:29:57 Why is this two bits? Seems like it could be one.
afakhry 2015/11/12 00:21:28 I'm honestly not sure about this one, and I'd leav
866 <summary>
867 Bitfield for the task's process priority (whether it's foregrounded or
868 backgrounded).
869 </summary>
870 </flags-field>
871 <flags-field name="num_cores_range">
872 <flag>Bit 0: RANGE_CORES_0_CORES</flag>
873 <flag>Bit 1: RANGE_CORES_1_TO_2_CORES</flag>
874 <flag>Bit 2: RANGE_CORES_2_TO_4_CORES</flag>
875 <flag>Bit 3: RANGE_CORES_4_TO_8_CORES</flag>
876 <flag>Bit 4: RANGE_CORES_8_TO_16_CORES</flag>
877 <flag>Bit 5: RANGE_CORES_ABOVE_16_CORES</flag>
878 <summary>
879 Bitfield for the current system's number or cores range.
880 </summary>
881 </flags-field>
882 <flags-field name="usage_range">
883 <flag>Bit 0: RANGE_0_TO_10_PERCENT</flag>
884 <flag>Bit 1: RANGE_10_TO_30_PERCENT</flag>
885 <flag>Bit 2: RANGE_30_TO_60_PERCENT</flag>
886 <flag>Bit 3: RANGE_ABOVE_60_PERCENT</flag>
887 <summary>
888 Bitfield for the tasks CPU usage range.
889 </summary>
890 </flags-field>
891 </rappor-metric>
892
893 <rappor-metric name="ResourceReporter.Memory" type="UMA_RAPPOR_TYPE">
894 <owner>afakhry@chromium.org</owner>
895 <summary>
896 A Chrome task, and its memory usage range.
897 </summary>
898 <string-field name="task">
899 <summary>
900 The rappor identifier of a Chrome task. In most cases this is the hostname
901 of the task's URL.
902 </summary>
903 </string-field>
904 <flags-field name="priority">
905 <flag>Bit 0: FOREGROUND</flag>
906 <flag>Bit 1: BACKGROUND</flag>
907 <summary>
908 Bitfield for the task's process priority (whether it's foregrounded or
909 backgrounded).
910 </summary>
911 </flags-field>
912 <flags-field name="usage_range">
913 <flag>Bit 0: RANGE_0_TO_200_MB</flag>
914 <flag>Bit 1: RANGE_200_TO_400_MB</flag>
915 <flag>Bit 2: RANGE_400_TO_600_MB</flag>
916 <flag>Bit 3: RANGE_600_TO_800_MB</flag>
917 <flag>Bit 4: RANGE_800_TO_1_GB</flag>
918 <flag>Bit 5: RANGE_ABOVE_1_GB</flag>
919 <summary>
920 Bitfield for the tasks CPU usage range.
921 </summary>
922 </flags-field>
923 </rappor-metric>
924
852 <rappor-metric name="Search.DefaultSearchProvider" type="ETLD_PLUS_ONE"> 925 <rappor-metric name="Search.DefaultSearchProvider" type="ETLD_PLUS_ONE">
853 <owner>holte@chromium.org</owner> 926 <owner>holte@chromium.org</owner>
854 <summary> 927 <summary>
855 The domain and registry of the URL for the default search engine. 928 The domain and registry of the URL for the default search engine.
856 Recorded when a profile is opened or after a profile reset. 929 Recorded when a profile is opened or after a profile reset.
857 </summary> 930 </summary>
858 </rappor-metric> 931 </rappor-metric>
859 932
860 <rappor-metric name="ServiceWorker.ControlledPageUrl" type="ETLD_PLUS_ONE"> 933 <rappor-metric name="ServiceWorker.ControlledPageUrl" type="ETLD_PLUS_ONE">
861 <owner>horo@chromium.org</owner> 934 <owner>horo@chromium.org</owner>
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
1024 <flag>Bit 1: IS_REPEAT_VISIT</flag> 1097 <flag>Bit 1: IS_REPEAT_VISIT</flag>
1025 <summary> 1098 <summary>
1026 Bitfield of the state from an SSL warning interstitial. 1099 Bitfield of the state from an SSL warning interstitial.
1027 </summary> 1100 </summary>
1028 </flags-field> 1101 </flags-field>
1029 </rappor-metric> 1102 </rappor-metric>
1030 1103
1031 </rappor-metrics> 1104 </rappor-metrics>
1032 1105
1033 </rappor-configuration> 1106 </rappor-configuration>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698