Skip to content

i#7157 dyn inject: Add switch injection count to schedule_stats#7301

Merged
abhinav92003 merged 3 commits intomasterfrom
i7157-schedule-stats-switch
Feb 25, 2025
Merged

i#7157 dyn inject: Add switch injection count to schedule_stats#7301
abhinav92003 merged 3 commits intomasterfrom
i7157-schedule-stats-switch

Conversation

@abhinav92003
Copy link
Copy Markdown
Contributor

@abhinav92003 abhinav92003 commented Feb 25, 2025

Adds the count of instances where the context switch sequence was injected to the schedule_stats tool output.

Modifies the switch_insertion test to use schedule_stats instead of basic_counts. This helps reveal a bug in context switch trace template dynamic injection logic that causes the injection to happen many more times than the context switch events.

This diff is split out from #7302 which fixes the above bug.

Issue: #7157

Adds the count of instances where the context switch sequence was injected to the schedule_stats tool output.

Modifies the switch_insertion test to use schedule_stats instead of basic_counts. This helps reveal a bug in context switch trace template insertion that causes the injection to happen many more times than the context switch events.

This diff is split out from #7299 which fixes the above bug.

Issue: #7157
Comment thread clients/drcachesim/common/memtrace_stream.h
@abhinav92003 abhinav92003 merged commit a0abe3c into master Feb 25, 2025
@abhinav92003 abhinav92003 deleted the i7157-schedule-stats-switch branch February 25, 2025 16:39
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