Update the README to mention that a C API is also available.

Review URL: http://codereview.chromium.org/2819008
This commit is contained in:
Darin Petkov 2010-06-17 17:05:06 -07:00
parent 10b301da57
commit 32e1df9d6c

View file

@ -11,10 +11,10 @@ transport to the UMA server.
The Metrics Library: libmetrics
================================================================================
libmetrics is a small library that implements the basic C++ API for
metrics collection. All metrics collection is funneled through this
library. The easiest and recommended way for a client-side module to
collect user metrics is to link libmetrics and use its APIs to send
libmetrics is a small library that implements the basic C and C++ API
for metrics collection. All metrics collection is funneled through
this library. The easiest and recommended way for a client-side module
to collect user metrics is to link libmetrics and use its APIs to send
metrics to Chrome for transport to UMA. In order to use the library in
a module, you need to do the following:
@ -47,6 +47,8 @@ a module, you need to do the following:
complete API documentation in metrics_library.h under
src/platform/metrics/.
For more information on the C API see c_metrics_library.h.
- On the target platform, shortly after the sample is sent it should
be visible in Chrome through "about:histograms".
@ -59,7 +61,6 @@ Use TrackerArea.MetricName. For example:
Logging.CrashCounter
Network.TimeToDrop
Platform.BootTime
================================================================================