1 /* -----------------------------------------------------------------------------
3 * (c) The GHC Team, 1998-2009
7 * ---------------------------------------------------------------------------*/
12 /* -----------------------------------------------------------------------------
13 The StgEntCounter type - needed regardless of TICKY_TICKY
14 -------------------------------------------------------------------------- */
16 typedef struct _StgEntCounter {
17 /* Using StgWord for everything, becuase both the C and asm code
18 generators make trouble if you try to pack things tighter */
19 StgWord registeredp; /* 0 == no, 1 == yes */
20 StgInt arity; /* arity (static info) */
21 StgInt stk_args; /* # of args off stack */
22 /* (rest of args are in registers) */
23 char *str; /* name of the thing */
24 char *arg_kinds; /* info about the args types */
25 StgInt entry_count; /* Trips to fast entry code */
26 StgInt allocs; /* number of allocations by this fun */
27 struct _StgEntCounter *link;/* link to chain them all together */
30 #endif /* RTS_TICKY_H */