diff options
Diffstat (limited to 'rts/IPE.h')
-rw-r--r-- | rts/IPE.h | 20 |
1 files changed, 18 insertions, 2 deletions
@@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------------- * - * (c) The GHC Team, 1998-2005 + * (c) The GHC Team, 1998-2021 * * Support for IPE * @@ -8,11 +8,27 @@ #pragma once -#include <stdio.h> #include "Rts.h" +#include <stdio.h> #include "BeginPrivate.h" +#define IPE_LIST_NODE_BUFFER_SIZE 126 + +typedef struct IpeBufferListNode_ { + InfoProvEnt **buffer[IPE_LIST_NODE_BUFFER_SIZE]; + StgWord8 count; + struct IpeBufferListNode_ *next; +} IpeBufferListNode; + void dumpIPEToEventLog(void); +void updateIpeMap(void); +void initIpeMapLock(void); +void closeIpeMapLock(void); + +#if defined(TRACING) +void traceIPEFromHashTable(void *data STG_UNUSED, StgWord key STG_UNUSED, + const void *value); +#endif #include "EndPrivate.h" |