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:
Doug MacEachern committed 2004-11-20 02:08:16 +00:00
1 parent 41c0ee4f7c
commit fee5b18641
11 files changed
+34 -24

No files matched your search

+3 -2
View File
@@ -50,8 +50,9 @@ int sigar_mem_get(sigar_t *sigar, sigar_mem_t *mem)
sigar_mem_calc_ram(sigar, mem);
mem->shared = -1;
mem->buffer = -1;
mem->cached = -1;
mem->actual_free = mem->free;
mem->actual_used = mem->used;
return SIGAR_OK;
}