class AllExtremes; class FuncNames; class FuncStats; class LinkedTS; class PidFunc { public: ~PidFunc(); time_t GetStartTS(); int GetPid(); string GetUser(); string GetClient(); string GetHost(); PidFunc *GetNextPidFunc(); void SetNextPidFunc( PidFunc *anextpidfunc ); int Init( time_t ats, int apid, string line, int iscan, int ispan, FuncNames *pfuncnames ); void IncrementRefCount(); int DecrementRefCount(); void Compute( time_t ts, AllExtremes *maxgcomputes, AllExtremes *mingcomputes ); void Finish( time_t ts, AllExtremes *maxgelapseds, AllExtremes *mingelapseds ); void PrintDetail( FuncNames *pfuncnames ); void PrintPretty( string prefix, FuncNames *pfuncnames ); private: time_t startts; bool seencompute; LinkedTS *pfirstcomputets; LinkedTS *plastcomputets; double compute; bool seenfinish; time_t finishts; double elapsed; int pid; string user; string client; string host; FuncStats *funcstats; string args; int refcount; PidFunc *nextpidfunc; };
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#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. |