misc: Merged release-staging-v19.0.0.0 into develop
[gem5.git] / util / cpt_upgraders / ruby-block-size-bytes.py
1 # Add block_size_bytes to system.ruby
2 def upgrader(cpt):
3 for sec in cpt.sections():
4 if sec == 'system.ruby':
5 # Use Gem5's default of 64; this should be changed if the to be
6 # upgraded checkpoints were not taken with block-size 64!
7 cpt.set(sec, 'block_size_bytes', '64')
8
9 legacy_version = 10