[stat_cache] FAM: improve monitoring, cache 16 sec
commit8cc189f4c6c269b5efd787fca372bfb4e5af141e
authorGlenn Strauss <gstrauss@gluelogic.com>
Sat, 4 May 2019 19:41:27 +0000 (4 15:41 -0400)
committerGlenn Strauss <gstrauss@gluelogic.com>
Sat, 4 May 2019 20:36:10 +0000 (4 16:36 -0400)
tree10894dcb0cbe761beed19a6a1d7f6f334a25e96c
parentf56800e86aeb40edbcbdb3c8a5e5f8adccc5590e
[stat_cache] FAM: improve monitoring, cache 16 sec

improve FAM monitoring to use reference counting in internal cache

revalidate entries upon use after 16 sec to recover from missed events

(see comments in commit for more details about limitations)
src/stat_cache.c
src/stat_cache.h