OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2009, Google Inc. | 2 * Copyright 2009, Google Inc. |
3 * All rights reserved. | 3 * All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 DECLARE_METRIC_integer(pixel_shader_main_version); | 96 DECLARE_METRIC_integer(pixel_shader_main_version); |
97 DECLARE_METRIC_integer(pixel_shader_sub_version); | 97 DECLARE_METRIC_integer(pixel_shader_sub_version); |
98 DECLARE_METRIC_integer(vertex_shader_main_version); | 98 DECLARE_METRIC_integer(vertex_shader_main_version); |
99 DECLARE_METRIC_integer(vertex_shader_sub_version); | 99 DECLARE_METRIC_integer(vertex_shader_sub_version); |
100 | 100 |
101 // Browser | 101 // Browser |
102 DECLARE_METRIC_integer(browser_type); | 102 DECLARE_METRIC_integer(browser_type); |
103 DECLARE_METRIC_integer(browser_major_version); | 103 DECLARE_METRIC_integer(browser_major_version); |
104 DECLARE_METRIC_integer(browser_minor_version); | 104 DECLARE_METRIC_integer(browser_minor_version); |
105 DECLARE_METRIC_integer(browser_bugfix_version); | 105 DECLARE_METRIC_integer(browser_bugfix_version); |
106 | 106 |
107 // Running time for instance of plugin | 107 // Running time for instance of plugin |
108 DECLARE_METRIC_count(uptime_seconds); | 108 DECLARE_METRIC_count(uptime_seconds); |
109 DECLARE_METRIC_count(cpu_time_seconds); | 109 DECLARE_METRIC_count(cpu_time_seconds); |
110 DECLARE_METRIC_timing(running_time_seconds); | 110 DECLARE_METRIC_timing(running_time_seconds); |
111 | 111 |
112 // Crashes | 112 // Crashes |
113 // How many times the plugin has crashed. Not all crashes may be reported. | 113 // How many times the plugin has crashed. Not all crashes may be reported. |
114 DECLARE_METRIC_count(crashes_total); | 114 DECLARE_METRIC_count(crashes_total); |
115 DECLARE_METRIC_count(crashes_uploaded); | 115 DECLARE_METRIC_count(crashes_uploaded); |
116 DECLARE_METRIC_count(out_of_memory_total); | 116 DECLARE_METRIC_count(out_of_memory_total); |
(...skipping 26 matching lines...) Expand all Loading... |
143 DECLARE_METRIC_integer(d3d_ps20_numtemps); | 143 DECLARE_METRIC_integer(d3d_ps20_numtemps); |
144 DECLARE_METRIC_integer(d3d_ps20_staticflowctrldepth); | 144 DECLARE_METRIC_integer(d3d_ps20_staticflowctrldepth); |
145 DECLARE_METRIC_integer(d3d_ps20_numinstrslots); | 145 DECLARE_METRIC_integer(d3d_ps20_numinstrslots); |
146 | 146 |
147 // Installs and uninstalls | 147 // Installs and uninstalls |
148 // TODO: Will likely need to get from Google Update | 148 // TODO: Will likely need to get from Google Update |
149 | 149 |
150 } // namespace o3d | 150 } // namespace o3d |
151 | 151 |
152 #endif // O3D_PLUGIN_CROSS_PLUGIN_METRICS_H_ | 152 #endif // O3D_PLUGIN_CROSS_PLUGIN_METRICS_H_ |
OLD | NEW |