Commit 2dd4275
authored
[rocprofiler-sdk] Relax timing tolerance in callback_registration_lambda_with_result test from 25% to 35% (#4587)
## Motivation
Random failures observed in CI environments:
https://github.com/ROCm/rocm-systems/actions/runs/23772167349/job/69265926641?pr=4272
## Technical Details
This PR updates the elapsed time tolerance in the
rocprofiler_lib.callback_registration_lambda_with_result test from 25%
to 35%.
The test compares:
- wall-clock time measured around hsa_iterate_agents(...)
- elapsed time accumulated via rocprofiler callback instrumentation
Due to the nature of this comparison, both measurements are not strictly
equivalent and can diverge because of:
- system noise (CPU scheduling, contention in CI)
## JIRA ID
<!-- If applicable, mention the JIRA ID resolved by this PR (Example:
Resolves SWDEV-12345). -->
<!-- Do not post any JIRA links here. -->
## Test Plan
- CI test
## Test Result
<!-- Briefly summarize test outcomes. -->
## Submission Checklist
- [x] Look over the contributing guidelines at
https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.1 parent 5899c98 commit 2dd4275
File tree
1 file changed
+1
-1
lines changed- projects/rocprofiler-sdk/source/lib/rocprofiler-sdk/tests
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
| 348 | + | |
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
| |||
0 commit comments