Commit 2903754f authored by Simon Marlow's avatar Simon Marlow

Profiling: don't report IDLE time by default

You can get it with +RTS -P, as with the other systemish cost centres
like "GC".
parent 520d82b6
......@@ -673,7 +673,8 @@ ignoreCC (CostCentre *cc)
( cc == CC_OVERHEAD
|| cc == CC_DONT_CARE
|| cc == CC_GC
|| cc == CC_SYSTEM)) {
|| cc == CC_SYSTEM
|| cc == CC_IDLE)) {
return rtsTrue;
} else {
return rtsFalse;
......@@ -687,7 +688,8 @@ ignoreCCS (CostCentreStack *ccs)
( ccs == CCS_OVERHEAD
|| ccs == CCS_DONT_CARE
|| ccs == CCS_GC
|| ccs == CCS_SYSTEM)) {
|| ccs == CCS_SYSTEM
|| ccs == CCS_IDLE)) {
return rtsTrue;
} else {
return rtsFalse;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment