On Oct 21, 11:20 am, fadden <[email protected]> wrote: > On Oct 20, 6:11 pm, joelt <[email protected]> wrote: > One approach is to read /proc/cpuinfo and look for "vfp" on the > "Features" line.
I should probably ask: what is it you're trying to accomplish? And should note: scanning for "vfp" will work for the current batch of ARM devices, but might get the wrong answer on future devices. You might be better off taking FP and non-FP implementations of an interesting algorithm, running them 10,000 times, and checking how long they take to execute. So long as you don't get unlucky interference from other processes, this should tell you what you really want to know: which approach is faster on the current device. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

