logs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Logs-devel] LoGS rule/ruleset counting functionality in CVS


From: Jim Prewett
Subject: [Logs-devel] LoGS rule/ruleset counting functionality in CVS
Date: Wed, 25 May 2005 20:57:38 -0600 (MDT)

I've just committed some code that allows for rules/rulesets to be counted 
as to the number of times they are used to check a message and the number 
of times they actually match a message.

this is controlled by the +enable-rule-count+ constant and the 
*count-rules* variable.  If +enable-rule-count+ is NIL, then rule counting 
cannot be done.  If *count-rules* is NIL, then rule counting is not done.  
If both are T, then rule counting is done.  The --count-rules command line 
option sets *count-rules* to T (+enable-rule-count+ is a build-time 
option so as to remove (have the compiler optimize out) the small overhead 
added by rule counting).

Jim

James E. Prewett                    address@hidden address@hidden 
Systems Team Leader                 http://www.hpc.unm.edu/~download/ 
Designated Security Officer         OpenPGP key: pub 1024D/31816D93    
HPC Systems Engineer III   UNM HPC  505.277.8210




reply via email to

[Prev in Thread] Current Thread [Next in Thread]