Reorganisation of the source tree
[ghc-hetmet.git] / ghc / rts / LdvProfile.h
diff --git a/ghc/rts/LdvProfile.h b/ghc/rts/LdvProfile.h
deleted file mode 100644 (file)
index d85b95c..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-/* -----------------------------------------------------------------------------
- *
- * (c) The GHC Team, 2001
- * Author: Sungwoo Park
- *
- * Lag/Drag/Void profiling.
- *
- * ---------------------------------------------------------------------------*/
-
-#ifndef LDVPROFILE_H
-#define LDVPROFILE_H
-
-#ifdef PROFILING
-
-#include "ProfHeap.h"
-
-extern void LDV_recordDead_FILL_SLOP_DYNAMIC( StgClosure *p );
-extern void LdvCensusForDead ( nat );
-extern void LdvCensusKillAll ( void );
-
-// Creates a 0-filled slop of size 'howManyBackwards' backwards from the
-// address 'from'. 
-//
-// Invoked when: 
-//   1) Hp is incremented and exceeds HpLim (in Updates.hc).
-//   2) copypart() is called (in GC.c).
-#define LDV_FILL_SLOP(from, howManyBackwards)  \
-  if (era > 0) {                               \
-    int i;                                     \
-    for (i = 0;i < (howManyBackwards); i++)    \
-      ((StgWord *)(from))[-i] = 0;             \
-  }
-
-// Informs the LDV profiler that closure c has just been evacuated.
-// Evacuated objects are no longer needed, so we just store its original size in
-// the LDV field.
-#define SET_EVACUAEE_FOR_LDV(c, size)   \
-    LDVW((c)) = (size)
-
-#endif /* PROFILING */
-
-#endif /* LDVPROFILE_H */