fixing a debug print
[charm.git] / src / ck-cp / controlPoints.ci
1 module ControlPoints {
2
3   readonly CProxy_controlPointManager controlPointManagerProxy;
4   readonly int random_seed;
5   readonly long controlPointSamplePeriod;
6   readonly int whichTuningScheme;
7   readonly bool shouldGatherMemoryUsage;
8   readonly bool shouldGatherUtilization;
9   readonly bool shouldGatherAll;
10   readonly char CPDataFilename[512];
11
12   readonly bool shouldFilterOutputData;
13   readonly bool writeDataFileAtShutdown;
14
15   initnode void registerCPReductions(void);     
16
17
18  message controlPointMsg { 
19          char data[];
20  };
21
22
23  message redistributor2DMsg {  
24         double data[]; 
25  }; 
26  
27
28   mainchare controlPointMain {
29     entry controlPointMain(CkArgMsg*);
30   };
31
32  initnode void controlPointInitNode();
33  initproc void ControlPoint::initControlPointEffects();
34
35  group [migratable] controlPointManager {
36     entry controlPointManager();
37
38     entry [expedited] void requestMemoryUsage(CkCallback cb);
39     entry [expedited] void gatherMemoryUsage(CkReductionMsg *msg);
40
41     entry [expedited] void requestIdleTime(CkCallback cb);
42     entry [expedited] void gatherIdleTime(CkReductionMsg *msg);
43
44     entry [expedited] void requestAll(CkCallback cb);
45     entry [expedited] void gatherAll(CkReductionMsg *msg);
46   
47  }   
48
49
50  
51   array [2D] redistributor2D {
52    entry redistributor2D(void);
53
54    entry void startup();        
55    
56     entry void resizeGranules(int, int);
57     entry void receiveTransposeData(redistributor2DMsg *msg);
58
59   } 
60
61
62
63
64 };