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

关于checkpoint的预热指令疑问 #316

Open
wuchangsheng opened this issue Apr 24, 2024 · 0 comments
Open

关于checkpoint的预热指令疑问 #316

wuchangsheng opened this issue Apr 24, 2024 · 0 comments

Comments

@wuchangsheng
Copy link

我们使用cpt-interval参数设置采样间隔为I,根据文档描述如下,预热指令长度默认W = I,则采样指令区间为 [N - W, N + I]。

但是阅读源码,NEMU的commitid是fe61fbfb1b681fc11d3539b2cb8984344173093b,采样指令区间为 [N, N + I]
在profile过程中void SimPoint::profile(Addr pc, bool is_control, bool is_last_uop, unsigned instr_count),只要满足 指令数 > 采样间隔 即触发profile.
在checkpoint过程中bool Serializer::instrsCouldTakeCpt(uint64_t num_insts),只要满足 指令数>片段序号*采样间隔 即触发checkpoint

如果只是放大 cpt-interval ,把前面部分长度作为预热指令,只统计后面部分性能。但是cluster是整段聚类选则的,这样是否存在不准确的问题。

image

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

No branches or pull requests

1 participant