7 #ifndef _QITYPE_TRACEANALYZER_HPP_
8 #define _QITYPE_TRACEANALYZER_HPP_
10 #include <boost/utility.hpp>
17 class TraceAnalyzerImpl;
32 FlowLink(
unsigned int srcObj,
unsigned int srcFun,
unsigned int dstObj,
unsigned int dstFun,
bool sync)
33 : srcObj(srcObj), srcFun(srcFun), dstObj(dstObj), dstFun(dstFun), sync(sync) {}
34 unsigned int srcObj, srcFun, dstObj, dstFun;
38 void analyze(std::set<FlowLink>& links);
40 void dumpTraces(std::ostream& o);
41 std::string dumpTraces();
43 std::unique_ptr<TraceAnalyzerImpl>
_p;
52 #define _qi_FIELD(f) if (a.f != b.f) return a.f < b.f
FlowLink(unsigned int srcObj, unsigned int srcFun, unsigned int dstObj, unsigned int dstFun, bool sync)
std::unique_ptr< TraceAnalyzerImpl > _p
struct similar to POSIX timeval
bool operator<(const AnyReference &a, const AnyReference &b)