summaryrefslogtreecommitdiff
path: root/src/python/SConscript
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2011-04-15 10:42:32 -0700
committerNathan Binkert <nate@binkert.org>2011-04-15 10:42:32 -0700
commit07815c3379d26a5d132696b41a5f1efc618cb0e6 (patch)
tree78364f5865f9c47b27649874ebdbf77d46a16f9a /src/python/SConscript
parent12446e9659b40cd62cd53a2d622fecc3450d8b09 (diff)
downloadgem5-07815c3379d26a5d132696b41a5f1efc618cb0e6.tar.xz
region: add a utility class for keeping track of regions of some range
This is basically like the range_map stuff in src/base (range already exists in Python). This code is like a set of ranges. I'm using it to keep track of changed lines in source code, but it could be use to keep track of memory ranges and holes in memory regions. It could also be used in memory allocation type stuff. (Though it's not at all optimized.)
Diffstat (limited to 'src/python/SConscript')
-rw-r--r--src/python/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/python/SConscript b/src/python/SConscript
index 1c5f08e1a..3c410b531 100644
--- a/src/python/SConscript
+++ b/src/python/SConscript
@@ -58,6 +58,7 @@ PySource('m5.util', 'm5/util/grammar.py')
PySource('m5.util', 'm5/util/jobfile.py')
PySource('m5.util', 'm5/util/multidict.py')
PySource('m5.util', 'm5/util/orderdict.py')
+PySource('m5.util', 'm5/util/region.py')
PySource('m5.util', 'm5/util/smartdict.py')
PySource('m5.util', 'm5/util/sorteddict.py')
PySource('m5.util', 'm5/util/terminal.py')