projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
316e98b
)
cpusleep plugin: adding comment regarding units
author
Rinigus
<rinigus.git@gmail.com>
Thu, 4 Aug 2016 06:13:49 +0000
(09:13 +0300)
committer
Rinigus
<rinigus.git@gmail.com>
Thu, 4 Aug 2016 06:13:49 +0000
(09:13 +0300)
src/cpusleep.c
patch
|
blob
|
history
diff --git
a/src/cpusleep.c
b/src/cpusleep.c
index
7cf2227
..
9a0e17e
100644
(file)
--- a/
src/cpusleep.c
+++ b/
src/cpusleep.c
@@
-70,7
+70,7
@@
static int cpusleep_read(void)
}
// to avoid false positives in counter overflow due to reboot,
- // derive is used
+ // derive is used
. Sleep is calculated in milliseconds
derive_t sleep = (derive_t) ((b.tv_sec - m.tv_sec)*1e3 + (b.tv_nsec - m.tv_nsec)*1e-6);
cpusleep_submit(sleep);