blob: 82c1d218fb325817b7bbe1fd77d41ad5d3e00544 [file] [log] [blame]
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef CRAS_METRICS_H_
#define CRAS_METRICS_H_
/* Logs the specified event. */
void cras_metrics_log_event(const char *event);
/* Sends histogram data. */
void cras_metrics_log_histogram(const char *name, int sample, int min,
int max, int nbuckets);
/* Sends sparse histogram data. */
void cras_metrics_log_sparse_histogram(const char *name, int sample);
#endif /* CRAS_METRICS_H_ */