aboutsummaryrefslogtreecommitdiff
path: root/test/performance
diff options
context:
space:
mode:
authorPetri Savolainen <petri.savolainen@linaro.org>2015-02-05 11:57:12 +0200
committerMaxim Uvarov <maxim.uvarov@linaro.org>2015-02-11 07:13:11 +0300
commit8ef18a30cbf01e5d99c476bb0f6075da45ac8977 (patch)
treea76ac5bfa1f9de108077624d7a7df7bbf035557e /test/performance
parent4feec768cd8dd4a39da9bea5a5c206a92df75511 (diff)
api: cpu: Renamed odp_thread_cpu to odp_cpu_id
This returns system specific cpu id. Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'test/performance')
-rw-r--r--test/performance/odp_scheduling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/performance/odp_scheduling.c b/test/performance/odp_scheduling.c
index 46af479e7..b62d7a8ff 100644
--- a/test/performance/odp_scheduling.c
+++ b/test/performance/odp_scheduling.c
@@ -610,7 +610,7 @@ static void *run_thread(void *arg)
thr = odp_thread_id();
- printf("Thread %i starts on CPU %i\n", thr, odp_thread_cpu());
+ printf("Thread %i starts on CPU %i\n", thr, odp_cpu_id());
shm = odp_shm_lookup("test_globals");
globals = odp_shm_addr(shm);