convert seconds to nanoseconds

This commit is contained in:
Doug MacEachern 2004-11-17 05:45:14 +00:00
parent 1299660b6c
commit cf93196a8a
1 changed files with 3 additions and 0 deletions

View File

@ -60,6 +60,9 @@
#define strnEQ(s1, s2, n) (strncmp(s1, s2, n) == 0)
#endif
#define SIGAR_SEC2NANO(s) \
((sigar_uint64_t)(s) * (sigar_uint64_t)1000000000)
#define SIGAR_LAST_PROC_EXPIRE 2
#define SIGAR_FS_MAX 10