diff options
Diffstat (limited to 'rts/ProfHeap.c')
-rw-r--r-- | rts/ProfHeap.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/rts/ProfHeap.c b/rts/ProfHeap.c index 0bd8423b4c..f880f5f406 100644 --- a/rts/ProfHeap.c +++ b/rts/ProfHeap.c @@ -1179,35 +1179,13 @@ heapCensusBlock(Census *census, bdescr *bd) case TSO: prim = true; -#if defined(PROFILING) - if (RtsFlags.ProfFlags.includeTSOs) { - size = sizeofW(StgTSO); - break; - } else { - // Skip this TSO and move on to the next object - p += sizeofW(StgTSO); - continue; - } -#else size = sizeofW(StgTSO); break; -#endif case STACK: prim = true; -#if defined(PROFILING) - if (RtsFlags.ProfFlags.includeTSOs) { - size = stack_sizeW((StgStack*)p); - break; - } else { - // Skip this TSO and move on to the next object - p += stack_sizeW((StgStack*)p); - continue; - } -#else size = stack_sizeW((StgStack*)p); break; -#endif case TREC_CHUNK: prim = true; |