@@ -159,27 +159,27 @@ bool hdr_record_values_atomic(struct hdr_histogram* h, int64_t value, int64_t co
159159 * Record a value in the histogram and backfill based on an expected interval.
160160 *
161161 * Records a value in the histogram, will round this value of to a precision at or better
162- * than the significant_figure specified at contruction time. This is specifically used
162+ * than the significant_figure specified at construction time. This is specifically used
163163 * for recording latency. If the value is larger than the expected_interval then the
164164 * latency recording system has experienced co-ordinated omission. This method fills in the
165- * values that would have occured had the client providing the load not been blocked.
165+ * values that would have occurred had the client providing the load not been blocked.
166166
167167 * @param h "This" pointer
168168 * @param value Value to add to the histogram
169169 * @param expected_interval The delay between recording values.
170170 * @return false if the value is larger than the highest_trackable_value and can't be recorded,
171171 * true otherwise.
172172 */
173- bool hdr_record_corrected_value (struct hdr_histogram * h , int64_t value , int64_t expexcted_interval );
173+ bool hdr_record_corrected_value (struct hdr_histogram * h , int64_t value , int64_t expected_interval );
174174
175175/**
176176 * Record a value in the histogram and backfill based on an expected interval.
177177 *
178178 * Records a value in the histogram, will round this value of to a precision at or better
179- * than the significant_figure specified at contruction time. This is specifically used
179+ * than the significant_figure specified at construction time. This is specifically used
180180 * for recording latency. If the value is larger than the expected_interval then the
181181 * latency recording system has experienced co-ordinated omission. This method fills in the
182- * values that would have occured had the client providing the load not been blocked.
182+ * values that would have occurred had the client providing the load not been blocked.
183183 *
184184 * Will record this value atomically, however the whole structure may appear inconsistent
185185 * when read concurrently with this update. Do NOT mix calls to this method with calls
@@ -191,7 +191,7 @@ bool hdr_record_corrected_value(struct hdr_histogram* h, int64_t value, int64_t
191191 * @return false if the value is larger than the highest_trackable_value and can't be recorded,
192192 * true otherwise.
193193 */
194- bool hdr_record_corrected_value_atomic (struct hdr_histogram * h , int64_t value , int64_t expexcted_interval );
194+ bool hdr_record_corrected_value_atomic (struct hdr_histogram * h , int64_t value , int64_t expected_interval );
195195
196196/**
197197 * Record a value in the histogram 'count' times. Applies the same correcting logic
@@ -504,7 +504,7 @@ int64_t hdr_next_non_equivalent_value(const struct hdr_histogram* h, int64_t val
504504int64_t hdr_median_equivalent_value (const struct hdr_histogram * h , int64_t value );
505505
506506/**
507- * Used to reset counters after importing data manuallying into the histogram, used by the logging code
507+ * Used to reset counters after importing data manually into the histogram, used by the logging code
508508 * and other custom serialisation tools.
509509 */
510510void hdr_reset_internal_counters (struct hdr_histogram * h );
0 commit comments