| OLD | NEW |
| (Empty) |
| 1 // Copyright 2008-2009 Google Inc. | |
| 2 // | |
| 3 // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 4 // you may not use this file except in compliance with the License. | |
| 5 // You may obtain a copy of the License at | |
| 6 // | |
| 7 // http://www.apache.org/licenses/LICENSE-2.0 | |
| 8 // | |
| 9 // Unless required by applicable law or agreed to in writing, software | |
| 10 // distributed under the License is distributed on an "AS IS" BASIS, | |
| 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 12 // See the License for the specific language governing permissions and | |
| 13 // limitations under the License. | |
| 14 // ======================================================================== | |
| 15 | |
| 16 #include "omaha/core/core_metrics.h" | |
| 17 | |
| 18 namespace omaha { | |
| 19 | |
| 20 DEFINE_METRIC_integer(core_working_set); | |
| 21 DEFINE_METRIC_integer(core_peak_working_set); | |
| 22 | |
| 23 DEFINE_METRIC_integer(core_handle_count); | |
| 24 | |
| 25 DEFINE_METRIC_integer(core_uptime_ms); | |
| 26 DEFINE_METRIC_integer(core_kernel_time_ms); | |
| 27 DEFINE_METRIC_integer(core_user_time_ms); | |
| 28 | |
| 29 DEFINE_METRIC_integer(core_disk_space_available); | |
| 30 | |
| 31 DEFINE_METRIC_count(core_worker_total); | |
| 32 DEFINE_METRIC_count(core_worker_succeeded); | |
| 33 DEFINE_METRIC_count(core_cr_total); | |
| 34 DEFINE_METRIC_count(core_cr_succeeded); | |
| 35 | |
| 36 DEFINE_METRIC_integer(core_cr_expected_timer_interval_ms); | |
| 37 DEFINE_METRIC_integer(core_cr_actual_timer_interval_ms); | |
| 38 | |
| 39 DEFINE_METRIC_count(core_start_crash_handler_total); | |
| 40 DEFINE_METRIC_count(core_start_crash_handler_succeeded); | |
| 41 | |
| 42 DEFINE_METRIC_count(core_run_not_checking_for_updates); | |
| 43 DEFINE_METRIC_count(core_run_task_scheduler_not_running); | |
| 44 DEFINE_METRIC_count(core_run_scheduled_task_missing); | |
| 45 DEFINE_METRIC_count(core_run_scheduled_task_disabled); | |
| 46 DEFINE_METRIC_count(core_run_service_missing); | |
| 47 DEFINE_METRIC_count(core_run_service_disabled); | |
| 48 DEFINE_METRIC_integer(core_run_scheduled_task_exit_code); | |
| 49 | |
| 50 } // namespace omaha | |
| 51 | |
| OLD | NEW |