doc: Add serial to list of ci file reserved words
[charm.git] / src / ck-perf / trace-summaryBOC.h
index 7979e7fb7adc199b7c890ccda9de36bbdfde5c17..9e8463fa2c3a9f063126811556a816233624a227 100644 (file)
@@ -27,7 +27,8 @@ private:
   int  nBins;
   int nTracedPEs;
 
-
+  bool firstTime; // used to make sure traceEnableCCS only has an effect the first time.
+  double _maxBinSize; //the max bin size collected from all processors
 public:
   /* CCS support variables */
   int lastRequestedIndexBlock;
@@ -36,12 +37,10 @@ public:
   int nBufferedBins;
   CkVec<double> *ccsBufferedData;
   int nextBinIndexCcs;
-  std::deque<CkReductionMsg *> storedSumDetailResults;
-
 
 public:
   TraceSummaryBOC(void): count(0), bins(NULL), nBins(0), 
-    nTracedPEs(0), nextBinIndexCcs(0) {};
+    nTracedPEs(0), nextBinIndexCcs(0), firstTime(true) {};
   TraceSummaryBOC(CkMigrateMessage *m):CBase_TraceSummaryBOC(m) {};
   void startSumOnly();
   void askSummary(int size);
@@ -51,14 +50,15 @@ public:
   void initCCS();
   void ccsRequestSummaryDouble(CkCcsRequestMsg *m);
   void ccsRequestSummaryUnsignedChar(CkCcsRequestMsg *m);
-  void ccsRequestSumDetailUnsignedChar(CkCcsRequestMsg *m);
-  void ccsRequestSumDetailCompressed(CkCcsRequestMsg *m);
-  void ccsRequestSumDetailCompressedPE0(CkCcsRequestMsg *m);
 
   void collectSummaryData(double startTime, double binSize, int numBins);
   void summaryDataCollected(CkReductionMsg *);
-  void collectSumDetailData(double startTime, double binSize, int numBins);
-  void sumDetailDataCollected(CkReductionMsg *);
+
+  void traceSummaryParallelShutdown(int pe);
+  void maxBinSize(CkReductionMsg *msg);
+  void shrink(double _maxBinSize);
+
+  void sumData(CkReductionMsg *msg);
 
 private:
   void write();