Commit 902be381 authored by simonmarhaskell@gmail.com's avatar simonmarhaskell@gmail.com
Browse files

update the debug counters following changes to scav_find_work()

parent 509b3987
......@@ -466,8 +466,7 @@ GarbageCollect ( rtsBool force_major_gc )
trace(TRACE_gc," copied %ld", gc_threads[i]->copied * sizeof(W_));
trace(TRACE_gc," any_work %ld", gc_threads[i]->any_work);
trace(TRACE_gc," no_work %ld", gc_threads[i]->no_work);
trace(TRACE_gc," scav_global_work %ld", gc_threads[i]->scav_global_work);
trace(TRACE_gc," scav_local_work %ld", gc_threads[i]->scav_local_work);
trace(TRACE_gc," scav_find_work %ld", gc_threads[i]->scav_find_work);
}
copied += gc_threads[i]->copied;
}
......@@ -1411,8 +1410,7 @@ init_gc_thread (gc_thread *t)
t->copied = 0;
t->any_work = 0;
t->no_work = 0;
t->scav_global_work = 0;
t->scav_local_work = 0;
t->scav_find_work = 0;
}
......
......@@ -156,8 +156,7 @@ typedef struct gc_thread_ {
lnat copied;
lnat any_work;
lnat no_work;
lnat scav_global_work;
lnat scav_local_work;
lnat scav_find_work;
// -------------------
// workspaces
......
......@@ -1417,7 +1417,7 @@ scavenge_find_work (void)
rtsBool did_something, did_anything;
bdescr *bd;
gct->scav_local_work++;
gct->scav_find_work++;
did_anything = 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