-
Notifications
You must be signed in to change notification settings - Fork 66
test(Sysman): Test to validate memory bandwidth counters with workload #216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
3bb33d2
to
234576d
Compare
conformance_tests/sysman/test_sysman_memory/src/test_sysman_memory.cpp
Outdated
Show resolved
Hide resolved
conformance_tests/sysman/test_sysman_memory/src/test_sysman_memory.cpp
Outdated
Show resolved
Hide resolved
7c5d16c
to
8dfacd5
Compare
conformance_tests/sysman/test_sysman_memory/src/test_sysman_memory.cpp
Outdated
Show resolved
Hide resolved
conformance_tests/sysman/test_sysman_memory/src/test_sysman_memory.cpp
Outdated
Show resolved
Hide resolved
conformance_tests/sysman/test_sysman_memory/src/test_sysman_memory.cpp
Outdated
Show resolved
Hide resolved
conformance_tests/sysman/test_sysman_memory/src/test_sysman_memory.cpp
Outdated
Show resolved
Hide resolved
conformance_tests/sysman/test_sysman_memory/src/test_sysman_memory.cpp
Outdated
Show resolved
Hide resolved
conformance_tests/sysman/test_sysman_memory/src/test_sysman_memory.cpp
Outdated
Show resolved
Hide resolved
Related-To: VLCLJ-2505 Signed-off-by: Aviral Nigam <[email protected]>
conformance_tests/sysman/test_sysman_memory/src/test_sysman_memory.cpp
Outdated
Show resolved
Hide resolved
@aviralni Is this test expected to pass in all platforms? |
Related-To: VLCLJ-2505 Signed-off-by: Aviral Nigam <[email protected]>
Related-To: VLCLJ-2505 Signed-off-by: Aviral Nigam <[email protected]>
Related-To: VLCLJ-2505 Signed-off-by: Aviral Nigam <[email protected]>
conformance_tests/sysman/test_sysman_memory/src/test_sysman_memory.cpp
Outdated
Show resolved
Hide resolved
LOG_INFO << "Percentage Bandwidth: " << percentage_bandwidth << "%"; | ||
EXPECT_GT(percentage_bandwidth, 0.0) | ||
<< "Percentage bandwidth is not greater than zero"; | ||
EXPECT_LT(percentage_bandwidth, 100.0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LE ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it possible to reach 100% utilization?
conformance_tests/sysman/test_sysman_memory/src/test_sysman_memory.cpp
Outdated
Show resolved
Hide resolved
|
||
// Get initial bandwidth counters | ||
auto bandwidth_before = lzt::get_mem_bandwidth(mem_handle); | ||
EXPECT_LT(bandwidth_before.readCounter, UINT64_MAX); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
readCounter & WriteCounter < UNIT64_MAX checks may not be useful.
maxBandWidth & timestamp can be checked if it's greater than 0. (Instead of checking < UNIT64_MAX )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, these checks were already present for counters validation, so did not modify these. IMO too we can modify these checks.
Related-To: VLCLJ-2505 Signed-off-by: Aviral Nigam <[email protected]>
LGTM. |
lgtm |
Related-To: VLCLJ-2505