Commit f2592a8
Fix WallClockASGCT::timerLoop skipping every other thread
Remove the spurious extra ThreadList::next() call in the no-filter
fallback branch of collectThreads. The loop already reads one tid per
iteration via the hasNext()/next() pattern; the trailing next() advanced
the cursor a second time, so tids was populated with only the 1st, 3rd,
5th, ... entries.
Impact: when threadFilter->enabled() is false, wallclock ticks sampled
only half of eligible threads. The context-filtered path is unaffected.
JIRA: PROF-14332
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 9858fc3 commit f2592a8
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
174 | 173 | | |
175 | 174 | | |
176 | 175 | | |
| |||
0 commit comments