Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 [ | 5 [ |
| 6 { | 6 { |
| 7 "namespace": "metricsPrivate", | 7 "namespace": "metricsPrivate", |
| 8 "description": "none", | 8 "description": "none", |
| 9 "types": [ | 9 "types": [ |
| 10 { | 10 { |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 141 { | 141 { |
| 142 "name": "recordLongTime", | 142 "name": "recordLongTime", |
| 143 "type": "function", | 143 "type": "function", |
| 144 "description": "Records an elapsed time of no more than 1 hour. The sam ple value is specified in milliseconds.", | 144 "description": "Records an elapsed time of no more than 1 hour. The sam ple value is specified in milliseconds.", |
| 145 "parameters": [ | 145 "parameters": [ |
| 146 {"name": "metricName", "type": "string"}, | 146 {"name": "metricName", "type": "string"}, |
| 147 {"name": "value", "type": "integer"} | 147 {"name": "value", "type": "integer"} |
| 148 ] | 148 ] |
| 149 }, | 149 }, |
| 150 { | 150 { |
| 151 "name": "recordSparseValue", | |
| 152 "type": "function", | |
| 153 "description": "Increments the count associated with |value| in the spar se histogram defined by the |metricName|", | |
|
Ilya Sherman
2014/03/26 22:44:14
nit: Please end the sentence with a period.
robliao
2014/03/26 23:37:54
Done.
| |
| 154 "parameters": [ | |
| 155 {"name": "metricName", "type": "string"}, | |
| 156 {"name": "value", "type": "integer"} | |
| 157 ] | |
| 158 }, | |
| 159 { | |
| 151 "name": "recordValue", | 160 "name": "recordValue", |
| 152 "type": "function", | 161 "type": "function", |
| 153 "description": "Adds a value to the given metric.", | 162 "description": "Adds a value to the given metric.", |
| 154 "parameters": [ | 163 "parameters": [ |
| 155 {"name": "metric", "$ref": "MetricType"}, | 164 {"name": "metric", "$ref": "MetricType"}, |
| 156 {"name": "value", "type": "integer"} | 165 {"name": "value", "type": "integer"} |
| 157 ] | 166 ] |
| 158 } | 167 } |
| 159 ], | 168 ], |
| 160 "events": [] | 169 "events": [] |
| 161 } | 170 } |
| 162 ] | 171 ] |
| OLD | NEW |