937b9344bb
* fix iteration range and add tests
* addressing review comments on tests
[ROCm/rocprofiler-sdk commit: 4d7b8ece80]