c88ab4006be177a410469deb86c3b3224d1a88c2
[charm.git] / src / ck-perf / trace-summaryBOC.h
1
2 #include "TraceSummary.decl.h"
3
4 extern CkGroupID traceSummaryGID;
5
6 class TraceSummaryInit : public Chare {
7   public:
8   TraceSummaryInit(CkArgMsg*) {
9     traceSummaryGID = CProxy_TraceSummaryBOC::ckNew();
10   }
11   TraceSummaryInit(CkMigrateMessage *m) {}
12 };
13
14 class TraceSummaryBOC : public CBase_TraceSummaryBOC {
15 private:
16   int count;
17   BinEntry *bins;
18   int  nBins;
19 public:
20   TraceSummaryBOC(void): count(0), bins(NULL), nBins(0) {};
21   TraceSummaryBOC(CkMigrateMessage *m) {};
22   void askSummary();
23   void sendSummaryBOC(int n, BinEntry *b);
24 private:
25   void write();
26 };
27
28