sim: Provide a framework for detecting out of data checkpoints and migrating them.
Review Request #1238 - Created May 30, 2012 and submitted
| Information | |
|---|---|
| Ali Saidi | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9041:1f633efe95fe --------------------------- sim: Provide a framework for detecting out of data checkpoints and migrating them.
Issue Summary
5
5
0
0
| Description | From | Last Updated | Status |
|---|---|---|---|
| Since this is only ever used here, you could simply do this and avoid the change to config/the_isa.hh: #define __STRINGIFY(X) ... | Nathan Binkert | May 30, 2012, 3:18 a.m. | Open |
| It seems that this could easily get out of sync. Any ideas how to prevent that from happening? Be cool ... | Nathan Binkert | May 30, 2012, 3:18 a.m. | Open |
| won't | Steve Reinhardt | June 4, 2012, 11:57 p.m. | Open |
| typo: "stote" | Steve Reinhardt | June 4, 2012, 11:57 p.m. | Open |
| can you add a reasonably verbose comment describing what this script is for and how to use it? | Steve Reinhardt | June 4, 2012, 11:57 p.m. | Open |
Posted (May 30, 2012, 3:18 a.m.)
Interesting. I'd click ship it, but it seems that maybe a little bit more thought on how we can make the checkpoint version number stuff actually work in practice would be good.
-
src/sim/root.cc (Diff revision 1) -
Since this is only ever used here, you could simply do this and avoid the change to config/the_isa.hh: #define __STRINGIFY(X) #X std::string isa = __STRINGIFY(TheISA); #undef __STRINGIFY
-
src/sim/serialize.hh (Diff revision 1) -
It seems that this could easily get out of sync. Any ideas how to prevent that from happening? Be cool if we could somehow hash the various checkpoint functions. Should we do the versioning on a per-object basis? That way a change in one isa wouldn't affect another, and it might be more likely that someone notices the need to update the version number for an object checkpoint.
Ship It!
Posted (June 4, 2012, 11:57 p.m.)
Sorry I didn't get around to commenting on this sooner. Just a few minor things, if you could please fix them in a second patch. Thanks!
-
src/sim/serialize.hh (Diff revision 1) -
won't
-
src/sim/serialize.hh (Diff revision 1) -
typo: "stote"
-
util/cpt_upgrader.py (Diff revision 1) -
can you add a reasonably verbose comment describing what this script is for and how to use it?
