1 /* Copyright (c) 2013 The Chromium OS Authors. All rights reserved. 2 * Use of this source code is governed by a BSD-style license that can be 3 * found in the LICENSE file. 4 */ 5 6 #ifndef CRAS_SERVER_METRICS_H_ 7 #define CRAS_SERVER_METRICS_H_ 8 9 extern const char kNoCodecsFoundMetric[]; 10 extern const char kStreamTimeoutMilliSeconds[]; 11 12 /* Logs the longest fetch delay of a stream in millisecond. */ 13 int cras_server_metrics_longest_fetch_delay(int delay_msec); 14 15 /* Initialize metrics logging stuff. */ 16 int cras_server_metrics_init(); 17 18 #endif /* CRAS_SERVER_METRICS_H_ */ 19 20