Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
7b90815f
Commit
7b90815f
authored
May 05, 2016
by
Salvatore Sanfilippo
Browse files
Merge pull request #3008 from badboy/fix-2911
Fix nanosecond conversion
parents
02db338a
15dacfec
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
7b90815f
...
...
@@ -2471,7 +2471,7 @@ static void intrinsicLatencyMode(void) {
}
double
avg_us
=
(
double
)
run_time
/
runs
;
double
avg_ns
=
avg_us
*
1
0
e3
;
double
avg_ns
=
avg_us
*
1e3
;
if
(
force_cancel_loop
||
end
>
test_end
)
{
printf
(
"
\n
%lld total runs "
"(avg latency: "
...
...
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