#define MAXCONCURRENTS 16384 #define PIDHASH 101 class FuncNames; class PidFunc; class PidHash { public: PidHash(); int Insert( PidFunc *ppidfunc ); PidFunc *Find( int pid, bool remove ); void Save(); void Flush(); void PrintMaxConcurrent( FuncNames *pfuncnames ); private: PidFunc *buckets[PIDHASH]; int nhashed; int maxhashed; time_t maxhashedts; PidFunc *pconcurrents[MAXCONCURRENTS]; };
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 5389 | Shawn Hladky | Branching p4loga for modifications | ||
//guest/michael_shields/src/p4loga/pidhash.h | |||||
#1 | 1610 | Michael Shields |
Adding p4d log analyzer concocted by myself. Compiles and executes on Red Hat 6.0, 7.0, and probably a few other operating systems with perhaps a little help. Still needs comments. |