anyWork(): count the number of times we don't find any work
[ghc-hetmet.git] / rts / sm / Scav.c
index 674078f..4ba80c4 100644 (file)
@@ -1582,5 +1582,7 @@ any_work (void)
         if (ws->stp->todos) return rtsTrue;
     }
 
+    gct->no_work++;
+
     return rtsFalse;
 }