We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd54a47 commit 0c67124Copy full SHA for 0c67124
src/features/cpu-states/cpu-states.ts
@@ -206,7 +206,8 @@ export class CpuStates {
206
states.lastCycles = newCycles;
207
states.states += BigInt(cycleAdd);
208
if (reason) {
209
- // Stopped events always have a reason, only update history for them
+ // Only update history when a reason is present, i.e. for stopped events.
210
+ // Periodic updates do not have a reason and should not create history entries.
211
states.statesHistory.updateHistory(states.states, threadId, reason);
212
}
213
0 commit comments