summaryrefslogtreecommitdiff
path: root/includes/Storage.h
diff options
context:
space:
mode:
authorSimon Marlow <simonmarhaskell@gmail.com>2008-04-16 22:03:47 +0000
committerSimon Marlow <simonmarhaskell@gmail.com>2008-04-16 22:03:47 +0000
commitdbbf15c0f141357aa49b583286174867baadb821 (patch)
treecbe7320ab2f07b2695e515d165efe45f060732a6 /includes/Storage.h
parent4b123ceba0c0a2f72494479a03ac9c94b6166c92 (diff)
downloadhaskell-dbbf15c0f141357aa49b583286174867baadb821.tar.gz
Allow work units smaller than a block to improve load balancing
Diffstat (limited to 'includes/Storage.h')
-rw-r--r--includes/Storage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/Storage.h b/includes/Storage.h
index d109a17670..3fcdfebb99 100644
--- a/includes/Storage.h
+++ b/includes/Storage.h
@@ -91,6 +91,9 @@ typedef struct step_ {
bdescr * todos_last;
unsigned int n_todos; // count of above
+ bdescr * part_blocks; // partially-full scanned blocks
+ unsigned int n_part_blocks; // count of above
+
bdescr * scavenged_large_objects; // live large objs after GC (d-link)
unsigned int n_scavenged_large_blocks; // size (not count) of above