Add dimension query to counter collection sample (#918)

Co-authored-by: Benjamin Welton <ben@amd.com>
This commit is contained in:
Benjamin Welton
2024-06-07 14:30:01 -07:00
committed by GitHub
parent 10fdba985f
commit f5753d3ae3
2 changed files with 46 additions and 5 deletions
@@ -128,6 +128,12 @@ TEST(dimension, set_get)
check_dim_pos(test_id, dim, i * 5);
set_dim_in_rec(test_id, dim, i * 3);
check_dim_pos(test_id, dim, i * 3);
for(size_t j = 1; j < 64; j++)
{
test_id = 0;
set_dim_in_rec(test_id, dim, j);
check_dim_pos(test_id, dim, j);
}
}
test_counter.handle = 123;