Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Periodic checkpoint generation #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

shinsakukataoka
Copy link

No description provided.

Copy link
Contributor

@branylagaffe branylagaffe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am convinced that using QEMU and the HMP command are a good way to trigger (qemu snapshot and) flexus checkpoint dump.

However, I don't think using a REAL_CLOCK timer is a good solution. KeenKraken and KnottyKraken use icount, which counts instructions. Creating a timer based on icount is maybe a better solution.

flexus_ckpt_timer = NULL; // Reset the timer pointer
}

FlexusCkptData *data = g_malloc(sizeof(FlexusCkptData));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good 'Ol memory leak ?

Copy link
Contributor

@branylagaffe branylagaffe Jul 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason why this cannot be a global variable ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants