/* Web Polygraph http://www.web-polygraph.org/
* (C) 2003-2006 The Measurement Factory
* Licensed under the Apache License, Version 2.0 */
#ifndef POLYGRAPH__LOGANALYZERS_RPTMTRACEFIG_H
#define POLYGRAPH__LOGANALYZERS_RPTMTRACEFIG_H
#include "xstd/String.h"
#include "loganalyzers/ReportTraceFigure.h"
class Stex;
class PhaseInfo;
class PhaseTrace;
class StatIntvlRec;
// creates response time trace figure based on interval stats
class RptmTraceFig: public ReportTraceFigure {
public:
RptmTraceFig();
void stats(const Stex *aStex, const PhaseInfo *phase);
void moreStats(const Stex *aStex);
protected:
virtual int createCtrlFile();
virtual void setCtrlOptions();
int dumpDataLines(const Stex *stex);
int dumpDataLine(const Stex *stex, Time stamp, const StatIntvlRec &r);
protected:
Array<const Stex*> theStexes;
const PhaseInfo *thePhase;
const PhaseTrace *theTrace;
};
#endif
syntax highlighted by Code2HTML, v. 0.9.1