427b8929090e3d5909f83f2d1f585582fbbf7ca5
[ghc-hetmet.git] / ghc / rts / parallel / ParallelDebug.h
1 /* 
2    Time-stamp: <Fri Jan 14 2000 13:47:43 Stardate: [-30]4202.87 hwloidl>
3
4    Prototypes of all parallel debugging functions.
5    */
6
7 #ifndef PARALLEL_DEBUG_H
8 #define PARALLEL_DEBUG_H
9
10 #if defined(GRAN) // || defined(PAR)
11 void G_PRINT_NODE(StgClosure* node);
12 void G_PPN(StgClosure* node);
13 void G_INFO_TABLE(StgClosure* node);
14 void G_CURR_THREADQ(StgInt verbose);
15 void G_THREADQ(StgTSO* closure, StgInt verbose);
16 void G_TSO(StgTSO* closure, StgInt verbose);
17 void G_EVENT(rtsEventQ event, StgInt verbose);
18 void G_EVENTQ(StgInt verbose);
19 void G_PE_EQ(PEs pe, StgInt verbose);
20 void G_SPARK(rtsSparkQ spark, StgInt verbose);
21 void G_SPARKQ(rtsSparkQ spark, StgInt verbose);
22 void G_CURR_SPARKQ(StgInt verbose);
23 void G_PROC(StgInt proc, StgInt verbose);
24 void GP(StgInt proc);
25 void GCP(void);
26 void GT(StgPtr tso);
27 void GCT(void);
28 void GEQ(void);
29 void GTQ(PEs p);
30 void GCTQ(void);
31 void GSQ(PEs p);
32 void GCSQ(void);
33 void GN(StgPtr node);
34 void GIT(StgPtr node);
35 #endif
36
37 #if defined(GRAN) || defined(PAR)
38
39 char  *display_info_type(StgClosure *closure, char *str);
40
41 void   PrintPacket(rtsPackBuffer *buffer);
42 void   PrintGraph(StgClosure *p, int indent_level);
43
44 #endif /* GRAN || PAR */
45
46 #endif /* PARALLEL_DEBUG_H */