Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix some typos #125

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SCRIPTING
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Setup
thread:stop() - stop the thread

Only boolean, nil, number, and string values or tables of the same may be
transfered via get()/set() and thread:stop() can only be called while the
transferred via get()/set() and thread:stop() can only be called while the
thread is running.

Running
Expand Down
12 changes: 6 additions & 6 deletions src/hdr_histogram.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ struct hdr_histogram
*
* Due to the size of the histogram being the result of some reasonably
* involved math on the input parameters this function it is tricky to stack allocate.
* The histogram is allocated in a single contigious block so can be delete via free,
* The histogram is allocated in a single continuous block so can be delete via free,
* without any structure specific destructor.
*
* @param lowest_trackable_value The smallest possible value to be put into the
Expand Down Expand Up @@ -72,7 +72,7 @@ int hdr_alloc(int64_t highest_trackable_value, int significant_figures, struct h
/**
* Reset a histogram to zero - empty out a histogram and re-initialise it
*
* If you want to re-use an existing histogram, but reset everthing back to zero, this
* If you want to re-use an existing histogram, but reset everything back to zero, this
* is the routine to use.
*
* @param h The histogram you want to reset to empty.
Expand All @@ -90,7 +90,7 @@ size_t hdr_get_memory_size(struct hdr_histogram *h);

/**
* Records a value in the histogram, will round this value of to a precision at or better
* than the significant_figure specified at contruction time.
* than the significant_figure specified at construction time.
*
* @param h "This" pointer
* @param value Value to add to the histogram
Expand All @@ -101,7 +101,7 @@ bool hdr_record_value(struct hdr_histogram* h, int64_t value);

/**
* Records count values in the histogram, will round this value of to a
* precision at or better than the significant_figure specified at contruction
* precision at or better than the significant_figure specified at construction
* time.
*
* @param h "This" pointer
Expand All @@ -116,10 +116,10 @@ bool hdr_record_values(struct hdr_histogram* h, int64_t value, int64_t count);
* Record a value in the histogram and backfill based on an expected interval.
*
* Records a value in the histogram, will round this value of to a precision at or better
* than the significant_figure specified at contruction time. This is specifically used
* than the significant_figure specified at construction time. This is specifically used
* for recording latency. If the value is larger than the expected_interval then the
* latency recording system has experienced co-ordinated omission. This method fill in the
* values that would of occured had the client providing the load not been blocked.
* values that would of occurred had the client providing the load not been blocked.

* @param h "This" pointer
* @param value Value to add to the histogram
Expand Down