library: improve/normalize an interface, <MEMINFO> api
This represents the refinement of this interface after the <stat> API was redesigned. We now follow a pattern of 'get' for single item retrieval & 'select' for when multiple items are desired, with just 1 function call. And again following the <stat> lead this interface now provides for delta values encompassing most items. The reason I went cuckoo nuts with those deltas is because they are essentially free. At the cost of a little RAM and just one memcpy there's no other price to be paid. Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
1242
proc/meminfo.c
1242
proc/meminfo.c
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user