最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

simics - Is there a Python API for the Simics7 in-memory snaphsots as an alternative to the front-end processor take-snapshot? -

programmeradmin0浏览0评论

I'm revising a large Simics Python application (RESim) to replace its dependence on reverse-execution with in-memory snapshots. While the latter versions of Simics 6 had a "VT_snapshot" api, Simics 7 only appears to have the front-end "take-snapshot" command which is not efficient. Is there, or will there be a low level python API for in memory snapshots?

Use of VT_task_snapshot results in: `NameError: name 'VT_take_snapshot' is not defined

I'm revising a large Simics Python application (RESim) to replace its dependence on reverse-execution with in-memory snapshots. While the latter versions of Simics 6 had a "VT_snapshot" api, Simics 7 only appears to have the front-end "take-snapshot" command which is not efficient. Is there, or will there be a low level python API for in memory snapshots?

Use of VT_task_snapshot results in: `NameError: name 'VT_take_snapshot' is not defined

Share Improve this question asked Feb 6 at 17:35 Mike ThompsonMike Thompson 31 bronze badge New contributor Mike Thompson is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct. 2
  • Please provide enough code so others can better understand or reproduce the problem. – Community Bot Commented Feb 6 at 19:04
  • As noted above, the python code line was: VT_task_snapshot(something). The accepted answer describes the new name of the API. – Mike Thompson Commented Feb 7 at 1:01
Add a comment  | 

1 Answer 1

Reset to default 1

Yes, the API functions are there.

simics> api-apropos snapshot
The string "snapshot" can be found in the following API help entries:

SIM_delete_snapshot        VT_dump_snapshot
SIM_get_snapshot_info      VT_snapshot_size_used
SIM_is_restoring_snapshot  VT_snapshots_ignore_class
SIM_is_restoring_state     VT_snapshots_skip_attr_restore
SIM_list_snapshots         VT_snapshots_skip_class_restore
SIM_restore_snapshot       exception_type_t
SIM_take_snapshot          snapshot_error_t
simics>

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论