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 /util/style.py | |
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 'util/style.py')
0 files changed, 0 insertions, 0 deletions