class PidFunc; class FuncStats { public: FuncStats( int aifuncname ); int GetIFuncName(); int GetNComputes(); int GetNElapseds(); void SetIFuncName( int aifuncname ); void UpdateCompute( PidFunc *ppidfunc, double compute ); void BackoutCompute( PidFunc *ppidfunc, double compute ); void UpdateElapsed( PidFunc *ppidfunc, double elapsed ); void Print(); private: int ifuncname; FuncExtremes maxfcomputes; FuncExtremes minfcomputes; double sumcomputes; int ncomputes; FuncExtremes maxfelapseds; FuncExtremes minfelapseds; double sumelapseds; int nelapseds; };
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 5389 | Shawn Hladky | Branching p4loga for modifications | ||
//guest/michael_shields/src/p4loga/funcstats.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. |