removing mem.{buffer,cached} fields.
replace with actual_{free,used} fields so we can portably adjust
-/+ buffers/cache on linux and perhaps on other platforms w/ different
semantics.
This commit is contained in:
1 parent
41c0ee4f7c
commit
fee5b18641
11 files changed
+34
-24
No files matched your search
+2
-2
@@ -75,8 +75,8 @@ typedef struct {
|
||||
used,
|
||||
free,
|
||||
shared,
|
||||
buffer,
|
||||
cached;
|
||||
actual_used,
|
||||
actual_free;
|
||||
} sigar_mem_t;
|
||||
|
||||
SIGAR_DECLARE(int) sigar_mem_get(sigar_t *sigar, sigar_mem_t *mem);
|
||||
|
||||
Reference in new issue
Block a user