Lines Matching defs:value

48  * @param lowest_discernible_value The smallest possible value that is distinguishable from 0.
50 * @param highest_trackable_value The largest possible value to be put into the
53 * of figures in a decimal number that will be maintained. E.g. a value of 3 will mean
55 * be a value between 1 and 5 (inclusive).
58 * significant_figure value is outside of the allowed range, ENOMEM if malloc
103 * Records a value in the histogram, will round this value of to a precision at or better
107 * @param value Value to add to the histogram
108 * @return false if the value is larger than the highest_trackable_value and can't be recorded,
111 bool hdr_record_value(struct hdr_histogram* h, int64_t value);
114 * Records a value in the histogram, will round this value of to a precision at or better
117 * Will record this value atomically, however the whole structure may appear inconsistent
122 * @param value Value to add to the histogram
123 * @return false if the value is larger than the highest_trackable_value and can't be recorded,
126 bool hdr_record_value_atomic(struct hdr_histogram* h, int64_t value);
129 * Records count values in the histogram, will round this value of to a
134 * @param value Value to add to the histogram
135 * @param count Number of 'value's to add to the histogram
136 * @return false if any value is larger than the highest_trackable_value and can't be recorded,
139 bool hdr_record_values(struct hdr_histogram* h, int64_t value, int64_t count);
142 * Records count values in the histogram, will round this value of to a
146 * Will record this value atomically, however the whole structure may appear inconsistent
151 * @param value Value to add to the histogram
152 * @param count Number of 'value's to add to the histogram
153 * @return false if any value is larger than the highest_trackable_value and can't be recorded,
156 bool hdr_record_values_atomic(struct hdr_histogram* h, int64_t value, int64_t count);
159 * Record a value in the histogram and backfill based on an expected interval.
161 * Records a value in the histogram, will round this value of to a precision at or better
163 * for recording latency. If the value is larger than the expected_interval then the
168 * @param value Value to add to the histogram
170 * @return false if the value is larger than the highest_trackable_value and can't be recorded,
173 bool hdr_record_corrected_value(struct hdr_histogram* h, int64_t value, int64_t expected_interval);
176 * Record a value in the histogram and backfill based on an expected interval.
178 * Records a value in the histogram, will round this value of to a precision at or better
180 * for recording latency. If the value is larger than the expected_interval then the
184 * Will record this value atomically, however the whole structure may appear inconsistent
189 * @param value Value to add to the histogram
191 * @return false if the value is larger than the highest_trackable_value and can't be recorded,
194 bool hdr_record_corrected_value_atomic(struct hdr_histogram* h, int64_t value, int64_t expected_interval);
197 * Record a value in the histogram 'count' times. Applies the same correcting logic
201 * @param value Value to add to the histogram
202 * @param count Number of 'value's to add to the histogram
204 * @return false if the value is larger than the highest_trackable_value and can't be recorded,
207 bool hdr_record_corrected_values(struct hdr_histogram* h, int64_t value, int64_t count, int64_t expected_interval);
210 * Record a value in the histogram 'count' times. Applies the same correcting logic
213 * Will record this value atomically, however the whole structure may appear inconsistent
218 * @param value Value to add to the histogram
219 * @param count Number of 'value's to add to the histogram
221 * @return false if the value is larger than the highest_trackable_value and can't be recorded,
224 bool hdr_record_corrected_values_atomic(struct hdr_histogram* h, int64_t value, int64_t count, int64_t expected_interval);
252 * Get minimum value from the histogram. Will return 2^63-1 if the histogram
260 * Get maximum value from the histogram. Will return 0 if the histogram
268 * Get the value at a specific percentile.
271 * @param percentile The percentile to get the value for
305 * Where "equivalent" means that value samples recorded for any two
309 * @param a first value to compare
310 * @param b second value to compare
316 * Get the lowest value that is equivalent to the given value within the histogram's resolution.
317 * Where "equivalent" means that value samples recorded for any two
321 * @param value The given value
322 * @return The lowest value that is equivalent to the given value within the histogram's resolution.
324 int64_t hdr_lowest_equivalent_value(const struct hdr_histogram* h, int64_t value);
327 * Get the count of recorded values at a specific value
328 * (to within the histogram resolution at the value level).
331 * @param value The value for which to provide the recorded count
332 * @return The total count of values recorded in the histogram within the value range that is
333 * {@literal >=} lowestEquivalentValue(<i>value</i>) and {@literal <=} highestEquivalentValue(<i>value</i>)
335 int64_t hdr_count_at_value(const struct hdr_histogram* h, int64_t value);
385 /** value directly from array for the current counts_index */
389 /** The current value based on counts_index */
390 int64_t value;
445 * Iterate to the next value for the iterator. If there are no more values
500 int64_t hdr_size_of_equivalent_value_range(const struct hdr_histogram* h, int64_t value);
502 int64_t hdr_next_non_equivalent_value(const struct hdr_histogram* h, int64_t value);
504 int64_t hdr_median_equivalent_value(const struct hdr_histogram* h, int64_t value);