Commit ad9480f3 authored by George Hotz's avatar George Hotz

disable extra unused checkpointing

parent de556e42
......@@ -49,7 +49,9 @@ func main() {
mu := GetHookedUnicorn(root, ram, func(step int, mu uc.Unicorn, ram map[uint32](uint32)) {
// it seems this runs before the actual step happens
// this can be raised to 10,000,000 if the files are too large
if (target == -1 && step%100000000 == 0) || step == target {
//if (target == -1 && step%10000000 == 0) || step == target {
// first run checkpointing is disabled for now since is isn't used
if step == target {
SyncRegs(mu, ram)
fn := fmt.Sprintf("%s/checkpoint_%d.json", root, step)
WriteCheckpoint(ram, fn, step)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment