@@ -49,11 +49,11 @@ void system_test_odp_sys_cache_line_size(void)
CU_ASSERT(ODP_CACHE_LINE_SIZE == cache_size);
}
-void system_test_odp_sys_cpu_model_str(void)
+void system_test_odp_cpu_model_str(void)
{
char model[128];
- snprintf(model, 128, "%s", odp_sys_cpu_model_str());
+ snprintf(model, 128, "%s", odp_cpu_model_str());
CU_ASSERT(strlen(model) > 0);
CU_ASSERT(strlen(model) < 127);
}
@@ -75,11 +75,11 @@ void system_test_odp_sys_huge_page_size(void)
CU_ASSERT(0 < page);
}
-void system_test_odp_sys_cpu_hz(void)
+void system_test_odp_cpu_hz(void)
{
uint64_t hz;
- hz = odp_sys_cpu_hz();
+ hz = odp_cpu_hz();
CU_ASSERT(0 < hz);
}
@@ -87,10 +87,10 @@ CU_TestInfo system_suite[] = {
_CU_TEST_INFO(system_test_odp_version_numbers),
_CU_TEST_INFO(system_test_odp_cpu_count),
_CU_TEST_INFO(system_test_odp_sys_cache_line_size),
- _CU_TEST_INFO(system_test_odp_sys_cpu_model_str),
+ _CU_TEST_INFO(system_test_odp_cpu_model_str),
_CU_TEST_INFO(system_test_odp_sys_page_size),
_CU_TEST_INFO(system_test_odp_sys_huge_page_size),
- _CU_TEST_INFO(system_test_odp_sys_cpu_hz),
+ _CU_TEST_INFO(system_test_odp_cpu_hz),
CU_TEST_INFO_NULL,
};
@@ -13,10 +13,10 @@
void system_test_odp_version_numbers(void);
void system_test_odp_cpu_count(void);
void system_test_odp_sys_cache_line_size(void);
-void system_test_odp_sys_cpu_model_str(void);
+void system_test_odp_cpu_model_str(void);
void system_test_odp_sys_page_size(void);
void system_test_odp_sys_huge_page_size(void);
-void system_test_odp_sys_cpu_hz(void);
+void system_test_odp_cpu_hz(void);
/* test arrays: */
extern CU_TestInfo system_suite[];