Moving the "critical path" history code into its own module which is included in...
[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
7
8
9   initproc void registerIdleTimeReduction(void);        
10
11
12  message controlPointMsg { 
13          char data[];
14  };
15
16
17  message redistributor2DMsg {  
18         double data[]; 
19  }; 
20  
21
22   mainchare controlPointMain {
23     entry controlPointMain(CkArgMsg*);
24   };
25
26  initnode void controlPointInitNode();
27
28  group controlPointManager {
29     entry controlPointManager();
30
31     entry void requestMemoryUsage(CkCallback cb);
32     entry void gatherMemoryUsage(CkReductionMsg *msg);
33
34     entry void requestIdleTime(CkCallback cb);
35     entry void gatherIdleTime(CkReductionMsg *msg);
36
37  }   
38
39
40  
41   array [2D] redistributor2D {
42    entry redistributor2D(void);
43
44    entry void startup();        
45    
46     entry void resizeGranules(int, int);
47     entry void receiveTransposeData(redistributor2DMsg *msg);
48
49   } 
50
51
52
53
54 };