aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/performance/histogram.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/performance/histogram.js')
-rw-r--r--src/node/performance/histogram.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node/performance/histogram.js b/src/node/performance/histogram.js
index f769266ae2..45e1c23a90 100644
--- a/src/node/performance/histogram.js
+++ b/src/node/performance/histogram.js
@@ -44,8 +44,8 @@
* pared down to the statistics needed for client stats in
* test/proto/benchmarks/stats.proto.
* @constructor
- * @param {number} resolution The histogram's bucket resolution
- * @param {number} max_possible The maximum allowed value
+ * @param {number} resolution The histogram's bucket resolution. Must be positive
+ * @param {number} max_possible The maximum allowed value. Must be greater than 1
*/
function Histogram(resolution, max_possible) {
this.resolution = resolution;