fixup SIGAR_TICK2SEC macro
This commit is contained in:
parent
7dbdd9724a
commit
6139fc7c18
|
@ -64,7 +64,7 @@
|
|||
((sigar_uint64_t)(s) * (sigar_uint64_t)1000000000)
|
||||
|
||||
/* cpu ticks to seconds */
|
||||
#define SIGAR_TICK2SEC(s) (s / sigar->ticks)
|
||||
#define SIGAR_TICK2SEC(s) ((s) / sigar->ticks)
|
||||
|
||||
#define SIGAR_LAST_PROC_EXPIRE 2
|
||||
|
||||
|
|
Loading…
Reference in New Issue