Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
b38996aa
Commit
b38996aa
authored
Jul 02, 2014
by
antirez
Browse files
latencyTimeSeries structure max field type fixed.
parent
062564c2
Changes
1
Show whitespace changes
Inline
Side-by-side
src/latency.h
View file @
b38996aa
...
@@ -46,7 +46,7 @@ struct latencySample {
...
@@ -46,7 +46,7 @@ struct latencySample {
/* The latency time series for a given event. */
/* The latency time series for a given event. */
struct
latencyTimeSeries
{
struct
latencyTimeSeries
{
int
idx
;
/* Index of the next sample to store. */
int
idx
;
/* Index of the next sample to store. */
mstime
_t
max
;
/* Max latency observed for this event. */
uint32
_t
max
;
/* Max latency observed for this event. */
struct
latencySample
samples
[
LATENCY_TS_LEN
];
/* Latest history. */
struct
latencySample
samples
[
LATENCY_TS_LEN
];
/* Latest history. */
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment