Explicit cast double to int(removes compiler warnings).
[charm.git] / src / ck-cp / controlPoints.ci
1 module ControlPoints {
2
3   readonly CProxy_controlPointManager localControlPointManagerProxy;
4   readonly int random_seed;
5
6
7   initproc void registerIdleTimeReduction(void);        
8
9
10   mainchare controlPointMain {
11     entry controlPointMain(CkArgMsg*);
12   };
13
14  initnode void controlPointInitNode();
15
16  group controlPointManager {
17     entry controlPointManager();
18
19     entry void requestMemoryUsage(CkCallback cb);
20     entry void gatherMemoryUsage(CkReductionMsg *msg);
21
22     entry void requestIdleTime(CkCallback cb);
23     entry void gatherIdleTime(CkReductionMsg *msg);
24
25     entry void registerTerminalPath(PathHistory &path);
26
27  }   
28
29
30
31
32
33  message controlPointMsg { 
34          char data[];
35  };
36
37
38
39
40
41  message redistributor2DMsg {  
42         double data[]; 
43  }; 
44  
45  
46   array [2D] redistributor2D {
47    entry redistributor2D(void);
48
49    entry void startup();        
50
51     entry void resizeGranules(int, int);
52 //    entry void receiveTransposeData(int top, int left, int height, int width, int new_chare_cols, int  new_chare_rows, int which_array, double d[width*height]);
53     entry void receiveTransposeData(redistributor2DMsg *msg);
54
55   } 
56
57
58
59
60 };