|
|
|
@ -19,7 +19,7 @@ static void test_amdgpu_verify_metrics(void **state) {
|
|
|
|
|
assert_true (amdgpu_verify_metrics("./gpu_metrics"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static void test_amdgpu_get_instant_metrics(void **state){
|
|
|
|
|
static void test_amdgpu_get_instant_metrics(void **state) {
|
|
|
|
|
UNUSED(state);
|
|
|
|
|
struct amdgpu_common_metrics metrics;
|
|
|
|
|
|
|
|
|
@ -67,7 +67,7 @@ static void test_amdgpu_get_instant_metrics(void **state){
|
|
|
|
|
// amdgpu binary with everything throttled
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static void test_amdgpu_get_samples_and_copy(void **state){
|
|
|
|
|
static void test_amdgpu_get_samples_and_copy(void **state) {
|
|
|
|
|
UNUSED(state);
|
|
|
|
|
|
|
|
|
|
struct amdgpu_common_metrics metrics_buffer[100];
|
|
|
|
@ -77,7 +77,7 @@ static void test_amdgpu_get_samples_and_copy(void **state){
|
|
|
|
|
amdgpu_get_samples_and_copy(metrics_buffer, gpu_load_needs_dividing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static void test_amdgpu_get_metrics(void **state){
|
|
|
|
|
static void test_amdgpu_get_metrics(void **state) {
|
|
|
|
|
UNUSED(state);
|
|
|
|
|
|
|
|
|
|
amdgpu_get_metrics();
|
|
|
|
|