Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(341)

Unified Diff: README

Issue 6094010: Add support for user actions to the metrics library and the metrics clients. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/metrics.git@master
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | c_metrics_library.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: README
diff --git a/README b/README
index 1519648373c2baf4d8ceb1d78f0d1df1a376ef8a..2ecec5f42c3417f00b97f55d1a39ceacb5bdda48 100644
--- a/README
+++ b/README
@@ -29,19 +29,9 @@ UMA. In order to use the library in a module, you need to do the following:
<metrics/metrics_library.h> header file. The file is installed in
$SYSROOT/usr/include/ when the metrics library is built and installed.
-- The API includes two methods:
-
- bool MetricsLibrary::SendToUMA(const std::string& name, int sample,
- int min, int max, int nbuckets)
- sends a sample for a regular (exponential) histogram.
-
- bool MetricsLibrary::SendEnumToUMA(const std::string& name, int sample,
- int max)
- sends a sample for an enumeration (linear) histogram.
-
- Before using these methods, a MetricsLibrary object needs to be constructed
- and initialized through its Init method. See the complete API documentation in
- metrics_library.h under src/platform/metrics/.
+- The API is documented in metrics_library.h under src/platform/metrics/. Before
+ using the API methods, a MetricsLibrary object needs to be constructed and
+ initialized through its Init method.
For more information on the C API see c_metrics_library.h.
@@ -88,9 +78,9 @@ The Metrics Client: metrics_client
================================================================================
metrics_client is a simple shell command-line utility for sending histogram
-samples. It's installed under /usr/bin on the target platform and uses
-libmetrics to send the data to Chrome. The utility is useful for generating
-metrics from shell scripts.
+samples and user actions. It's installed under /usr/bin on the target platform
+and uses libmetrics to send the data to Chrome. The utility is useful for
+generating metrics from shell scripts.
For usage information and command-line options, run "metrics_client" on the
target platform or look for "Usage:" in metrics_client.cc.
« no previous file with comments | « no previous file | c_metrics_library.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698