Hi everyone,
As you know well, Samsung Exynos-4210 contains TWO Cortex-A9 processors.
So all of ODROID-A, ODROID-PC and ODROID-A4 has dual-core powered computing performance.
To utilize full computing power of dual-core in Android, you need to learn Multi-thread programming.
This document explains the multi-threading in JAVA as well as Native C/C++(NDK) code.
Please note this great article has been written by Alvaro.
There are two source code packages for Java and NDK example.
labbok-Multithreading.rar contains modified graphical interface with an asynchronous task in JAVA.
labbok-NDKMultithreading.rar contains Fibonacci calculation in NDK.
Enjoy the document and example codes for your programming in multi-core world.
This screen shot shows the result of Fibonacci sequence calculation. He tried 30 numbers of sequence with ODROID-A4 ICS build.
It took 420msec with single-core and 230msec with dual-core.
So we can say the dual-core has significant boosted speed about 180% of the single-core.
Once again, really appreciate Alvaro’s sharing.
Another news!
We will release an example code with OpenMP to show you alternative approach of multi-core programming by this weekend.
So stay tuned!