diff options
author | Nathan Binkert <nate@binkert.org> | 2011-04-15 10:42:32 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2011-04-15 10:42:32 -0700 |
commit | 07815c3379d26a5d132696b41a5f1efc618cb0e6 (patch) | |
tree | 78364f5865f9c47b27649874ebdbf77d46a16f9a /src/python/SConscript | |
parent | 12446e9659b40cd62cd53a2d622fecc3450d8b09 (diff) | |
download | gem5-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/SConscript | 1 |
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') |