Changeset 10996 for fact/Evidence
- Timestamp:
- 06/10/11 21:40:22 (14 years ago)
- Location:
- fact/Evidence
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/Evidence/Doc/Evidence.tex
r10280 r10996 300 300 \lstinline|minchange| & Minimum absolute change necessary for a service to be added to the history buffer. The format is \lstinline|ServiceName:MinChange|. This is only meaningful for services that represent numbers or number arrays. For an array, the difference of the sum of the absolute values of all elements is compared to \lstinline|MinChange|.\\ 301 301 \lstinline|maxsize_kb| & Maximum size of a single history buffer in kByte. Default value is 2000.\\ 302 \lstinline|numentries| & Numer of entries that a history buffer should hold, provided its size does not exceed the defined maximum. Default value is 1000. For DIM services of varying size, buffer sizes are recalculated at each update and never shrink.\\[1ex] 302 \lstinline|numentries| & Numer of entries that a history buffer should hold, provided its size does not exceed the defined maximum. Default value is 1000. For DIM services of varying size, buffer sizes are recalculated at each update and never shrink.\\ 303 \lstinline|exclude| & Services to exclude.\\[1ex] 303 304 \multicolumn{2}{l}{\textbf{Remote procedure call}} \\ 304 305 \lstinline|ServiceHistory Srvc| & Returns the history buffer of the given service if available, otherwise the response will be empty (zero bytes). If the buffer is not currently in memory because the corresponding service is not available, it will be searched for on disk. -
fact/Evidence/History.cc
r253 r10996 73 73 GetConfig("maxsize_kb", DEFAULT_MAX_SIZE_KB); 74 74 GetConfig("numentries", DEFAULT_NUM_ENTRIES); 75 GetConfig("exclude", ""); 75 76 76 77 // Subscribe to top-level server list … … 258 259 void History::AddService(string Name, const char *Format) { 259 260 260 // Return if already subscribed to this service 261 if (Map.count(Name) != 0 ) return;261 // Return if already subscribed to this service or if excluded 262 if (Map.count(Name) != 0 || GetConfig("exclude").find(Name) != string::npos) return; 262 263 263 264 // Create new service subscription -
fact/Evidence/readme.txt
r10143 r10996 50 50 Non-blocking configuration request with default value was not working. 51 51 Signal handler calls abort() if invoked three times or more. 52 10/6/2011 Services can be excluded from History buffer (mainly for large event data services)
Note:
See TracChangeset
for help on using the changeset viewer.